1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-09 16:35:42 +02:00

nvim: update page (#9039)

This commit is contained in:
Dominique Köstler 2022-10-17 06:16:41 +02:00 committed by GitHub
parent 1d352c7eb5
commit 2ae9154484
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
# nvim
> Neovim, a programmer's text editor based on Vim, provides several modes for different kinds of text manipulation.
> Pressing `i` enters edit mode. `<Esc>` goes back to normal mode, which doesn't allow regular text insertion.
> Pressing `i` in normal mode enters insert mode. `<Esc>` goes back to normal mode, which doesn't allow regular text insertion.
> More information: <https://neovim.io>.
- Open a file:
@ -16,7 +16,7 @@
`<Esc>{{yy|dd}}`
- Undo the last operation:
- Enter normal mode and undo the last operation:
`<Esc>u`
@ -28,7 +28,7 @@
`<Esc>:%s/{{regular_expression}}/{{replacement}}/g<Enter>`
- Save (write) the file, and quit:
- Enter normal mode and save (write) the file, and quit:
`<Esc>:wq<Enter>`