Vim practical skills One, vim three modes normal mode edit mode Command mode Two, vim simple operation Normal mode: move: H: Move left J: Move K down: Move up L: Move from + u: Move up half screen + D: Move down half screen insert: i: Enter edit mode and insert I at current position : go to edit Mode and insert a at the beginning of the current line : Enter edit mode and insert a after the current position: Enter edit mode and insert o at the end of the current line : Enter edit mode and insert an O in the line below the current row : Enter edit mode and insert a row on the current line Search: / : Forward search ? : Reverse Search split screen: vsplit/ctrl + s: Vertical split split/ctrl + V: Horizontal split screen + h: Shift Moving to the left screen + J: Move to the top of the screen + K: Move to the bottom of the screen + L: Move to the right of the screen
Vim Common commands