Files
lk/writing/vim.md

28 lines
556 B
Markdown

---
title: vim basics
tags:
- vim
- basic
- TUI
---
## Instant nano replacement
`vim -y` - will start vim but like other editors like nano, there will be syntax highlighting, etc
Keybind to exit this mode is `Ctrl+q`
## Steps
1. Insert text by pressing `a`.
1. Stop inserting text by pressing `Ctrl+[`.
1. Exit with `ZZ`.
1. Congratulations, you now know `vim`.
## Extras
- [Learning Vim](vim/vi.md)
- [Navigation](vim/navigate.md)
- [Completion](vim/completion.md)
- [Window Splits](vim/windows.md)
- [Use vim bindings in bash](vim/vim_in_bash.md)