Difference between revisions of "Vim keys"
Jump to navigation
Jump to search
m |
m |
||
| Line 24: | Line 24: | ||
|style="background-color:#ffffcc;"|Document|| || || || || || || || | |style="background-color:#ffffcc;"|Document|| || || || || || || || | ||
|} | |} | ||
| − | + | <!-- | |
==Editing== | ==Editing== | ||
{| | {| | ||
| Line 49: | Line 49: | ||
|C-y|| ||Yank back killed text at current cursor position. M-y will then cycle through earlier killed texts. | |C-y|| ||Yank back killed text at current cursor position. M-y will then cycle through earlier killed texts. | ||
|} | |} | ||
| − | + | --> | |
[[Category:Værktøjer, Programmering]][[Category:Keyboard shortcuts]] | [[Category:Værktøjer, Programmering]][[Category:Keyboard shortcuts]] | ||
Revision as of 10:03, 24 January 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 | ||||||||