mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 14:37:57 +01:00
Merge pull request #996 from tldr-pages/vim
vim: add :w, :wq, i (take II)
This commit is contained in:
commit
9c5450feac
1 changed files with 17 additions and 1 deletions
|
@ -14,6 +14,22 @@
|
|||
|
||||
`view {{file}}`
|
||||
|
||||
- Switch to normal mode:
|
||||
|
||||
`<esc>`
|
||||
|
||||
- Switch to insert mode:
|
||||
|
||||
`<esc> i`
|
||||
|
||||
- Exit vim:
|
||||
|
||||
`[Esc] (to switch to normal mode), then :q`
|
||||
`<esc> :q <enter>`
|
||||
|
||||
- Save file in vim:
|
||||
|
||||
`<esc> :w <enter>`
|
||||
|
||||
- Save file then exit vim:
|
||||
|
||||
`<esc> :wq <enter>`
|
||||
|
|
Loading…
Reference in a new issue