vim: update page (#9112)

pull/1/head
Dominique Köstler 2022-10-17 12:29:21 +02:00 committed by GitHub
parent 17c9c7c4d8
commit da56ffca68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

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):