Insert mode allows you to add text to a file. To enter insertion mode, type i from normal mode.
Useful other ways to enter insert mode:
Normal mode is the default mode. Press Esc from any mode to enter this mode
Useful commands:
Replacement mode is similar to pressing the Ins
key on the keyboard. It allows you to replace characters under the curor with those that you type.
To enter, press Shift + R in Normal Mode.
Visual mode allows you to select text. To enter, press v.
Useful things to do in visual mode:
:s/FIND/REPLACE/g
: Find and replace text on selected LINES (including non-selected part)There is also visual block mode.
Useful things to do in visual block mode: