https://github.com/yanniskatsaros/vim-tutor
Cheatsheet for Vim Tutor
https://github.com/yanniskatsaros/vim-tutor
editor terminal vim vimtutor
Last synced: 8 days ago
JSON representation
Cheatsheet for Vim Tutor
- Host: GitHub
- URL: https://github.com/yanniskatsaros/vim-tutor
- Owner: yanniskatsaros
- License: mit
- Created: 2019-04-06T04:37:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-06T05:03:29.000Z (about 7 years ago)
- Last Synced: 2025-09-27T06:02:05.779Z (9 months ago)
- Topics: editor, terminal, vim, vimtutor
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Vim Tutor Cheatsheat
Cheatsheet for [Vim Tutor](http://www2.geog.ucl.ac.uk/~plewis/teaching/unix/vimtutor).
Vim Tutor comes installed with most modern MacOS and Linux distributions. To run it, enter `vimtutor` in the terminal.
For Windows there should be an entry in the start menu folder titled "vim tutor" if you install Vim.
## Lesson 1
1. The cursor is moved using either the arrow keys or the `h j k l` keys.
- `h` : left
- `j` : down
- `k` : up
- `l` : right
2. To start Vim from the shell prompt type: `vim FILENAME `
3. To exit Vim, type:
- ` :q! ` to trash all changes
- ` :wq ` to save the changes
4. To delete the character at the cursor, type: `x`
5. To insert or append text, type:
- `i` type inserted text `` (insert before the cursor)
- `A` type appended text `` (append after the line)
Note: Pressing `` will place you in `NORMAL` mode or will cancel an unwanted and partially completed command.