Merge pull request #996 from tldr-pages/vim
vim: add :w, :wq, i (take II)
This commit is contained in:
@@ -14,6 +14,22 @@
|
|||||||
|
|
||||||
`view {{file}}`
|
`view {{file}}`
|
||||||
|
|
||||||
|
- Switch to normal mode:
|
||||||
|
|
||||||
|
`<esc>`
|
||||||
|
|
||||||
|
- Switch to insert mode:
|
||||||
|
|
||||||
|
`<esc> i`
|
||||||
|
|
||||||
- Exit vim:
|
- 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>`
|
||||||
|
Reference in New Issue
Block a user