This commit is contained in:
Rico Sta. Cruz 2017-08-24 22:28:58 +08:00
parent bf5acfa16e
commit 0b60d76899
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
2 changed files with 25 additions and 0 deletions

View File

@ -10,6 +10,10 @@ H2's support these:
{: .-three-column} {: .-three-column}
{: .-left-reference} {: .-left-reference}
H3's support these:
{: .-prime}
Tables support these: Tables support these:
{: .-shortcuts} {: .-shortcuts}

21
vim.md
View File

@ -8,6 +8,24 @@ Getting started
--------------- ---------------
{: .-three-column} {: .-three-column}
### Exiting
{: .-prime}
| Shortcut | Description |
| --- | --- |
| `:qa` | Close all files |
| `:qa!` | Close all files, abandon changes |
| --- | --- |
| `:w` | Save |
| `:wq` _/_ `:x` | Save and close file |
| --- | --- |
| `:q` | Close file |
| `:q!` | Close file, abandon changes |
| --- | --- |
| `ZZ` | Save and quit |
| `ZQ` | Quit without checking changes |
{: .-shortcuts}
### Navigating ### Navigating
| Shortcut | Description | | Shortcut | Description |
@ -24,6 +42,9 @@ Getting started
| `$` | End of line | | `$` | End of line |
| `gg` | First line | | `gg` | First line |
| `G` | Last line | | `G` | Last line |
| --- | --- |
| `:n` | Go to line `n` |
| `nG` | Go to line `n` |
{: .-shortcuts} {: .-shortcuts}
### Entering insert mode ### Entering insert mode