| Description | Command |
| Go to start of file | gg |
| Go to end of file | G (Shift + g) |
| Go to start of line | 0 (zero) |
| Go to end of line | $ (dollar) |
| Highlight similar words | # (Press # with curson on required word) |
| Go to next line | j |
| Go to previous line | k |
| Go to next character | h |
| Go to previous character | l |
| Delete current character | x |
| undo last action | u |
| redo | Ctrl + u |
| Delete a line | dd |
| Delete all lines, from current line to end of the file | dG |
| Delete all lines, from current line to start of the file | dg |
| Copy | Use mouse to copy required lines |
| Paste | Shift + Insert |
| Refresh the current file | :e ( |
Monday, July 7, 2014
vi: Visual Editor: Make UNIX easy
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment