English mnemonics to Vim's shortcuts
I realize that Vim's main author is Dutch, so I'll settle for those as well. I'm interested, do Vim's "control keys" have equivalents in the english language? You know, Ctrl-O for Open, Ctrl-N for New and so on.
Some of Vim's "control keys" could be assigned some meanings
(a) append / (i) insert
(w) word / b (back one word)
These are just those that I thought off the top of my head.
Do they all have some meaning (:e ?)
I find it much easier to remember them if I know they mean something; they're not just randomly used keys.
a: append or around
b: before
c: change
d: delete
e: edit
f: find
g: go
h: left
i: insert or in
j: down
k: up
l: right
m: mark
n: next
o: open a new line
p: put or paste
q: (quote/record keystrokes to the register indicated by the next character)
r: replace
s: substitute
t: toward
u: undo
v: enter visual mode
w: word (move right one word at a time)
x: (delete (or x-out) a single character)
y: yank
z: fold, it's visual, it looks like a folded sheet of paper
Some do. Check out this cheatsheet, it has a lot of mnemonics:
http://michael.peopleofhonoronly.com/vim/
Some of the more obvious ones:
y
= yank c
= change O
= over f
= find r
= replace u
= undo t
= unTil character My mnemonic for ^
(go to beginning of line): ^
looks like a roof, roof symbolizes home. Home
key moves your cursor to the start of line/document.
Look at ADM-3A keyboard layout: the Home
key is used to print ^
and ~
symbols.
下一篇: 英语助记符Vim的捷径