Merge branch 'pr-350'
* pr-350: Fix up some tables Add window navigation commands
This commit is contained in:
commit
ec13c6170d
31
vim.md
31
vim.md
|
@ -45,19 +45,34 @@ Getting started
|
||||||
|
|
||||||
#### Line
|
#### Line
|
||||||
|
|
||||||
| `0` _(zero)_ | Start of line |
|
| Shortcut | Description |
|
||||||
| `^` | Start of line _(after whitespace)_ |
|
| --- | --- |
|
||||||
| `$` | End of line |
|
| `0` _(zero)_ | Start of line |
|
||||||
|
| `^` | Start of line _(after whitespace)_ |
|
||||||
|
| `$` | End of line |
|
||||||
{: .-shortcuts}
|
{: .-shortcuts}
|
||||||
|
|
||||||
#### Document
|
#### Document
|
||||||
|
|
||||||
| `gg` | First line |
|
| Shortcut | Description |
|
||||||
| `G` | Last line |
|
| --- | --- |
|
||||||
| `:n` | Go to line `n` |
|
| `gg` | First line |
|
||||||
| `nG` | Go to line `n` |
|
| `G` | Last line |
|
||||||
|
| `:n` | Go to line `n` |
|
||||||
|
| `nG` | Go to line `n` |
|
||||||
{: .-shortcuts}
|
{: .-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
|
### Editing
|
||||||
|
|
||||||
| Shortcut | Description |
|
| Shortcut | Description |
|
||||||
|
@ -311,8 +326,6 @@ Do these in visual or normal mode.
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| `.` | repeat last command |
|
| `.` | repeat last command |
|
||||||
| `]p` | paste under the current indentation level |
|
| `]p` | paste under the current indentation level |
|
||||||
| --- | --- |
|
|
||||||
| `zz` | Center this line |
|
|
||||||
{: .-shortcuts}
|
{: .-shortcuts}
|
||||||
|
|
||||||
### Command line
|
### Command line
|
||||||
|
|
Loading…
Reference in New Issue