mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 21:46:02 +02:00
vim: add :w, :wq, i
This commit is contained in:
parent
72c5fd5810
commit
314a240945
1 changed files with 13 additions and 1 deletions
|
@ -16,4 +16,16 @@
|
|||
|
||||
- Exit vim:
|
||||
|
||||
`[Esc] (to switch to normal mode), then :q`
|
||||
`[Esc] (to switch to command mode), then :q`
|
||||
|
||||
- save file in vim
|
||||
|
||||
`[Esc] (to switch to command mode), then :w`
|
||||
|
||||
- save file then exit vim
|
||||
|
||||
`[Esc] (to switch to command mode), then :wq`
|
||||
|
||||
- switch to edit (insert) mode
|
||||
|
||||
`[Esc] (to switch to command mode), then i`
|
||||
|
|
Loading…
Add table
Reference in a new issue