Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:vim [2024/09/20 15:24] – will | tools:vim [2025/10/07 14:35] (current) – [Commands] vid79 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Vim ====== | ====== Vim ====== | ||
| - | '' | ||
| - | | + | '' |
| + | |||
| + | **MIT's " | ||
| + | Vim’s design is based on the idea that a lot of programmer time is spent reading, navigating, and making small edits, as opposed to writing long streams of text. For this reason, Vim has multiple operating modes. | ||
| + | - Normal: for moving around a file and making edits | ||
| + | - Insert: for inserting text | ||
| + | - Replace: for replacing text | ||
| + | - Visual (plain, line, or block): for selecting blocks of text | ||
| + | - Command-line: | ||
| * '' | * '' | ||
| + | * [[https:// | ||
| + | |||
| + | |||
| + | ===== Commands ===== | ||
| + | |||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '': | ||
| + | |||
| + | move around | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - up and down arrows move you up and down each line but to move between lines click '' | ||
| + | - '' | ||
| + | |||
| + | Copy and paste | ||
| + | * Click '' | ||
| + | * to cut- move your cursor to highlight the words you want to cut and press '' | ||
| + | * to copy- move your cursor to highlight the words you want to copy and press '' | ||
| + | * move your cursor to where you want to paste words and press '' | ||
| + | |||
| + | close vim temporarily | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | exit | ||
| + | * '': | ||
| + | * '': | ||
| + | * '': | ||