^ :q! <ENTER> // exit
k x // delete the character under the cursor
< h l > i // insert text
j A // append text
v :wq // save file and exit
dd // delete a whole line => d+
w - until the start of the next word, EXCLUDING its first character.
e - to the end of the current word, INCLUDING the last character.
$ - to the end of the line, INCLUDING the last character.
2w to move the cursor two words forward.
3e to move the cursor to the end of the third word forward.
0 (zero) to move to the start of the line.
y // yank (copy) the highlighted text.
p // put (paste) the text. Then type: a second <ESC> .
u // undo the last commands.
:! // followed by an external command to execute that command.
/ignore <ENTER> // search ignore
n // search ignore again (next instance)
G // move to a line in the file.
:help w // help for any subject - currently for w.
https://coderwall.com/p/adv71w/basic-vim-commands-for-getting-started
https://vim.rtorr.com/
No comments:
Post a Comment