Merge branch 'pr-350'

* pr-350:
  Fix up some tables
  Add window navigation commands
This commit is contained in:
Rico Sta. Cruz 2018-03-15 17:44:52 +08:00
commit ec13c6170d
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 22 additions and 9 deletions

17
vim.md
View File

@ -45,6 +45,8 @@ Getting started
#### Line
| Shortcut | Description |
| --- | --- |
| `0` _(zero)_ | Start of line |
| `^` | Start of line _(after whitespace)_ |
| `$` | End of line |
@ -52,12 +54,25 @@ Getting started
#### Document
| Shortcut | Description |
| --- | --- |
| `gg` | First line |
| `G` | Last line |
| `:n` | Go to line `n` |
| `nG` | Go to line `n` |
{: .-shortcuts}
#### Window
| Shortcut | Description |
| --- | --- |
| `zz` | Center this line |
| `H` | Move to top of screen |
| `M` | Move to middle of screen |
| `L` | Move to bottom of screen |
{: .-shortcuts}
### Editing
| Shortcut | Description |
@ -311,8 +326,6 @@ Do these in visual or normal mode.
| --- | --- |
| `.` | repeat last command |
| `]p` | paste under the current indentation level |
| --- | --- |
| `zz` | Center this line |
{: .-shortcuts}
### Command line