Why VIM?
-
21 years of continuous development
-
Over 4,500 plugins available to date
The contents
-
Modes
-
Commands
-
Movement
-
Editing
-
Searching
-
Windows
- Plugins
action
Open a source file in VIM
Modes
Normal
Default behavior, used for navigation and manipulation of text.
Insert
Used for inserting new text. "Normal" mode commands are also available in "Insert" mode through the use of meta keys.
Visual
Used for navigation and manipulation of text selections. Most "Normal" mode commands are available in "Visual" mode.
Commands
Introducing the Colon
Open
Write
Quit
Help
Movement
h => left
j => down
k => up
l => right
Movement
Document Level
Page Down
Page Up
Jump to Top
Jump to Bottom
Jump to Line
Movement
Screen Level
Jump to Top of Screen
H
Jump to Middle of Screen
M
Jump to Bottom of Screen
L
Movement
Line Level
End of Word
Beginning of Word
End of Line
Beginning of Line
Movement
Mark
Undo Jump
Mark, Jump
Miscellaneous
Jump to Closing Character
Editing
Adding Data
Insert
i
Append
Append to Line
New Line
Editing
Replacing Data
Replace Character Under Cursor
r
Replace Word
Editing
Deleting Data
Delete Character Under Cursor
Delete Word Under Cursor
Delete Line
Delete From Cursor to End of File
Editing
Visual Blocks
Selecting Characters
v
Selecting Lines
Selecting Columns
Editing Multiple Lines
Searching
Find
Basic Search
REGEX Search
Search
Find and Replace
Replace First Instance
Replace All Instances on Line
Replace All Instances in File
Windows
Split Windows
Split Vertically
Split Horizontally
Resize Split Window
:<vertical> resize <columns>
Move to Split Window
plugins
- tComment
- autoclose
- syntastic
- emmet
- snipmate
- tabular
- fugitive
- CtrlP
- NerdTree
- matchit
- surround
- YankRing
- airline
- supertab
- easymotion