3 ms·
This is completely useless. Who even uses `i` to enter insert mode? I am almost always using one of the following instead: - o: open new line below current li
by Slackwise 4y ago
This is completely useless. Who even uses `i` to enter insert mode?
I am almost always using one of the following instead:
- o: open new line below current line
- O: open new line above current line
- I: insert at beginning of current line
- A: append to end of current line
- cc: change current line
- C: change to end of line
- ci(: change in current parenthesis
- ci": change in double quotes
- ctX: change to character X
- cfX: change to found character X
Each of these will perform an action and leave you in insert mode after the action. Then using `.` you can repeat both the changing action and the insert, all in one keystroke. Obviously impossible to do if you only use `i` and `a`.
Vim is not about toggling modes. Vim is an entire language to express text transformation, that you can then repeat with `.`, or undo with "micro commits" to your file, traversing the history back and forward in sensible chunks instead of the usual chaos of Ctrl-Z in other editors. (You can even branch your undo history!)
- shepherdjerred 4y ago> Who even uses `i` to enter insert mode? Most novice vim users.