As a Vim user I really need to learn some Emacs keybindings so I can use bash properly... Move one word forward / backward: M-f and M-b, or M-[left] and M-[right], this is easy. Next one, to the beginning and end of line: C-a and C-e... Delete a word: C-w. Paste: C-y. Undo: C-/... Not sure if I can remember that by tomorrow.
@jkb Yes, I know. The thing is, I have many servers and I'd like to work on them with no customization whatsoever. Also, I think the overhead of vi's mode switching doesn't worth it when all you have is a single line. If the command is long, I use C-x C-e to enter vi anyway...
@leo_song I run all terminal programs with mouse support disabled. I still want to use the mouse for selecting and copying text.
@leo_song Unfortunately on QubesOS it's a hotkey conflict. The system global copy & paste uses the same keybinding and I hate it...
@niconiconi Why the global copy and paste key not work in terminal? Sounds like it's designed to copy & paste things with terminals.
当然我大概是个异端，vim几乎只会insert mode, emacs用得却还行。
@minung 对于基本的编辑命令而言，我也可以说 vi 的命令也是基于语义的……
删除一个单词：dw: delete word
替换一个单词：cw: change word
复制一个单词：yw: yank word（没错，vi 和 Emacs 中 yank 的含义是相反的）