add basic vim

This commit is contained in:
Malin Freeborn 2022-04-26 19:09:37 +02:00
parent 7921ffda70
commit 8ba582fa7a
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
2 changed files with 25 additions and 2 deletions

19
vim/basic_vim.md Normal file
View File

@ -0,0 +1,19 @@
---
title: "Basic vim"
tags: [ "Documentation", "vim" ]
---
Insert text by pressing `i`.
Stop inserting text by pressing `Ctrl+[`.
Exit with `ZZ`.
Congratulations, you now know `vim`.
## Extras
- [Navigation](navigate.md)
- [Completion](vim-completion.md)
- [Search](vim-search.md)
- [Window Splits](vim-windows.md)

View File

@ -3,10 +3,14 @@ title: "vim completion"
tags: [ "Documentation", "vim" ] tags: [ "Documentation", "vim" ]
--- ---
Complete the word: Complete the word by searching for the *n*ext similar word:
> C-n > C-n
Complete the full segment: Complete the word by searching for a *p*revious similar word:
> C-p
Complete the full line:
> C-x C-l > C-x C-l