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
This commit is contained in:
@@ -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>`
|
||||
|
@@ -8,4 +8,4 @@
|
||||
|
||||
- Exit the tutor:
|
||||
|
||||
`[Esc] (to switch to normal mode), then :q`
|
||||
`<Esc> :q <Enter>`
|
||||
|
Reference in New Issue
Block a user