mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-25 02:39:25 +03:00
Merge pull request #996 from tldr-pages/vim
vim: add :w, :wq, i (take II)
This commit is contained in:
commit
9c5450feac
@ -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 New Issue
Block a user