mirror of https://github.com/CrimsonTome/tldr.git
vim: update page (#9112)
parent
17c9c7c4d8
commit
da56ffca68
|
@ -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):
|
||||
|
||||
|
|
Loading…
Reference in New Issue