You and Your Editor: Data from vim-logging (2 of N)
December 05, 2009 at 07:19 PM | Vim | View CommentsRemember when I blogged about vim-logging? Well, I've finally gotten around to interpreting the results.
First, I will cover what I believe to be the most important thing to know about vim: the normal mode commands.
Below is a chart of my 39 (why 39? I can't remember - when I created the graph, that's the number I chose) most-frequently-used normal-mode commands:
| (many - see discussion) | g |
|
| (ex mode command) | : | |
| (delete) | d | |
| (find in line) | f | |
| (move forward word) | w | |
| (insert mode at beginning of line) | I | |
| (change) | c | |
| (move to beginning of line) | ^ | |
| (insert mode at end of line) | A | |
| (move back word) | b | |
| (undo) | u | |
| (move to next search match) | n | |
| (search) | / | |
| (move left) | h | |
| (z[nm]): close/open folds, z[tbz]: scroll window) | z | |
| (insert mode before character) | i | |
| (move to end of line) | $ | |
| (c_w-c_[wljh_] - window commands) | Ctrl_W | |
| (insert mode after character) | a | |
| (find backwards in line) | F | |
| (insert node in next line) | o | |
| (move cursor half screen down) | Ctrl_D | |
| (move line down) | j | |
| (move line up) | k | |
| (enter normal mode) | ESC | |
| (repeat previous find in line) | ; | |
| (substitute character) | s | |
| (delete character) | x | |
| (put from register) | p | |
| (delete line) | D | |
| (}} - move to next blank line) | } | |
| ({{ - move to previous blank line) | { | |
| (enter visual-line-mode) | V | |
| (go to bottom of file) | G | |
| (replace) | r | |
| (visual mode) | v | |
| (yank text) | y | |
| (change line) | C | |
| (insert mode on previous line) | O |