Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:vim [2025/07/30 10:36] – [Vim] vid79 | tools:vim [2025/10/07 14:35] (current) – [Commands] vid79 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Vim ====== | ====== Vim ====== | ||
| - | '' | ||
| - | 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 | + | '' |
| - | Insert: for inserting text | + | |
| - | Replace: for replacing text | + | |
| - | Visual | + | |
| - | Command-line: | + | |
| - | ** | + | **MIT' |
| - | ** * '' | + | 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:// | * [[https:// | ||
| ===== Commands ===== | ===== Commands ===== | ||
| - | |||
| - | Victoria' | ||
| - '' | - '' | ||
| - | - '' | + | - '' |
| - '' | - '' | ||
| + | - '': | ||
| move around | move around | ||
| - | - '' | + | - '' |
| - | - '' | + | - '' |
| - '' | - '' | ||
| - '' | - '' | ||
| Line 30: | Line 30: | ||
| - up and down arrows move you up and down each line but to move between lines click '' | - 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 | close vim temporarily | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | |||
| exit | exit | ||
| * '': | * '': | ||
| * '': | * '': | ||
| * '': | * '': | ||