vim: update page (#9112)

This commit is contained in:
Dominique Köstler
2022-10-17 12:29:21 +02:00
committed by GitHub
parent 17c9c7c4d8
commit da56ffca68

View File

@@ -1,7 +1,7 @@
# vim
> Vim (Vi IMproved), a command-line text editor, provides several modes for different kinds of text manipulation.
> Pressing `i` enters insert mode. `<Esc>` enters normal mode, which enables the use of Vim commands.
> Pressing `i` in normal mode enters insert mode. Pressing `<Esc>` goes back to normal mode, which enables the use of Vim commands.
> More information: <https://www.vim.org>.
- Open a file:
@@ -16,13 +16,13 @@
`:help<Enter>`
- Save and Quit:
- Save and quit the current buffer:
`:wq<Enter>`
- Undo the last operation:
- Enter normal mode and undo the last operation:
`u`
`<ESC>u`
- Search for a pattern in the file (press `n`/`N` to go to next/previous match):