Updates vim and vimtutor pages (#926)

* Updates vim and vimtutor pages

* Easy peasy.

* Use <Enter> instead of <Cr>

* Show help command.

We might not be able to help you move around
but the interactive help provided by vim is
pretty good, so helping people find it might
be a good idea.

* Reorder commands and lowercase help
waldyrious/alt-syntax
Leandro Ostera 2016-08-21 16:00:09 +02:00 committed by GitHub
parent e3553ac6f8
commit 2ba4397edc
2 changed files with 9 additions and 13 deletions

View File

@ -14,22 +14,18 @@
`view {{file}}`
- Switch to normal mode:
- Enter normal text editing mode (insert mode):
`<esc>`
`<Esc> i`
- Switch to insert mode:
- Search in file:
`<esc> i`
`/{{search_string}}<Enter>`
- Exit vim:
- Save and Exit vim:
`<esc> :q <enter>`
`<Esc> :wq <Enter>`
- Save file in vim:
- Open interactive help:
`<esc> :w <enter>`
- Save file then exit vim:
`<esc> :wq <enter>`
`<Esc> :help <Enter>`

View File

@ -8,4 +8,4 @@
- Exit the tutor:
`[Esc] (to switch to normal mode), then :q`
`<Esc> :q <Enter>`