Files
lk/writing/vim.md
2025-08-31 22:45:22 +02:00

26 lines
582 B
Markdown

---
title: "vim basics"
tags: [ "vim", "basic" ]
---
## 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)
- [Search](vim/search.md)
- [Window Splits](vim/windows.md)
- [Use vim bindings in bash](vim/vim_in_bash.md)