Skip to content

Commit

Permalink
Added 2 movement shortcuts (rstacruz#1903)
Browse files Browse the repository at this point in the history
* Added 2 movement shortcuts

In the Document section, "Move down/up by n lines"

* Update vim.md

Co-authored-by: Rico Sta. Cruz <[email protected]>
  • Loading branch information
AndiKod and rstacruz authored Jan 4, 2023
1 parent c8aa8f2 commit 9cc370f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions vim.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,14 @@ Getting started

#### Document

| Shortcut | Description |
| --- | --- |
| `gg` | First line |
| `G` | Last line |
| `:n` | Go to line `n` |
| `nG` | Go to line `n` |
| Shortcut | Description |
| --- | --- |
| `gg` | First line |
| `G` | Last line |
| `:{number}` | Go to line `{number}` |
| `{number}G` | Go to line `{number}` |
| `{number}j` | Go down `{number}` lines |
| `{number}k` | Go up `{number}` lines |
{: .-shortcuts}

#### Window
Expand Down

0 comments on commit 9cc370f

Please sign in to comment.