25
3
Here is the full size version: VIM Cheat Sheet Full Size
This is for the all the VIM users out there!
Read More...
23
0
Modes
Vi has two modes: insertion mode, and command mode.
The editor begins in command mode, where cursor movement
and text deletion and pasting occur. Insertion mode
begins upon entering an insertion or change command.
[ESC] returns the editor to command mode (where you can
quit, for example by typing :q!). Most commands execute
as soon as you type them except for “colon” commands
which execute when you press the return key.
Quitting
exit, saving changes :x
quit (unless changes) :q
quit (force, even if unsaved) :q!
Inserting text
insert before cursor, before line i , I
append after cursor, after line a , A
open new line after, line before o , O
replace one char, many chars r , R
(more…)
Read More...
