vi
Editing
Action | Command |
Start insert | INS or i |
Stop insert | ESC |
Delete current line | dd |
Delete remainder line | D |
Start of word | b |
Quit and save | :wq |
Quit without modifying | :q! |
Searching
Action | Command |
Search backward | ?string |
Search forward | /string |
Next occurrence opposite | N |
Next occurrence | n |