Merge pull request #996 from tldr-pages/vim

vim: add :w, :wq, i (take II)
waldyrious/alt-syntax
Waldir Pimenta 2016-08-06 14:40:46 +01:00 committed by GitHub
commit 9c5450feac
1 changed files with 17 additions and 1 deletions

View File

@ -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>`