Multi-Window Segmentation
": sp/vsp" Portrait/Landscape Split window
"Ctrl+w" jumps in the window
Multiple Files Open
Vim name1 name2 Name3
": n/n filename/bn/bp" When opening multiple files jump/Next File/previous file in multiple files (cannot jump in multiple windows)
Skip transfer Warning Save when multiple files are not open at the same time
": q/q!/x" closed window/force close window/write and close window
":e/e file/e! file/e# or ctrl+^"Reload current file/close current file Open new File/force close current File open new File/go back to the file you just edited
Cursor movement
"G/gg" jumps to the end of the file/start
"E/e/b/b/w/w" moves to (next) Word End/forward to (previous) Word End/move to (next) word start)
E/B/W move to punctuation if the word has punctuation
Flip Screen
"Ctrl+d/ctrl+u" down/up half screen
"Ctrl+f/ctrl+b" turn down/up one screen
"Ctrl+e/ctrl+y" scrolls down/Up one line
"Zt/zz/zb" displays the current line to the top/center/bottom of the screen
State
": F or ctrl+g" display status
": F Name" Changes the current edit name, which is saved at the same time as the Save As
Browse the file system
"Vex/sex" Portrait/Landscape Split window displays file system
Vim Common commands