Difference between revisions of "Vim keys"
Jump to navigation
Jump to search
m |
m |
||
| Line 22: | Line 22: | ||
|style="background-color:#ffffcc;"|Sentence|| || || || || || || || | |style="background-color:#ffffcc;"|Sentence|| || || || || || || || | ||
|- | |- | ||
| − | |style="background-color:#ffffcc;"|Document|| || || || || || || || | + | |style="background-color:#ffffcc;"|Document|| ||G|| ||Move to the end of the document|| ||gg|| ||Move to the start of the document |
|} | |} | ||
<!-- | <!-- | ||
Revision as of 13:50, 2 February 2018
Links to check
- https://coderwall.com/p/adv71w/basic-vim-commands-for-getting-started
- http://vim.wikia.com/wiki/Copy,_cut_and_paste
Movement
| Forward | Backward | |||||||
| Unit | Key | Function | Key | Function | ||||
|---|---|---|---|---|---|---|---|---|
| Character | ||||||||
| Word | w | Move 1 word forward | ||||||
| Line | ||||||||
| Line | 0 (zero) | Move to start of line | ||||||
| Sentence | ||||||||
| Document | G | Move to the end of the document | gg | Move to the start of the document | ||||