Skip to content

Commit

Permalink
Added two missing Vim key bindings that allow up and down movement on…
Browse files Browse the repository at this point in the history
… multi-line text (rtorr#334)

Co-authored-by: scopescrepe <[email protected]>
  • Loading branch information
scopecrepe and scopescrepe authored Mar 4, 2022
1 parent 2412a10 commit ffc76af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion locales/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"j": "move cursor down",
"k": "move cursor up",
"l": "move cursor right",
"gj": "move cursor down (multi-line text)",
"gk": "move cursor up (multi-line text)",
"w": "jump forwards to the start of a word",
"W": "jump forwards to the start of a word (words can contain punctuation)",
"e": "jump forwards to the end of a word",
Expand Down Expand Up @@ -342,4 +344,4 @@
"title": "Languages"
},
"footer": "Checkout the source on"
}
}
6 changes: 6 additions & 0 deletions views/partials/sheet.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
<li>
<kbd>l</kbd> - {{__ 'cursorMovement.commands.l'}}
</li>
<li>
<kbd>gj</kbd> - {{__ 'cursorMovement.commands.gj'}}
</li>
<li>
<kbd>gk</kbd> - {{__ 'cursorMovement.commands.gk'}}
</li>
<li>
<kbd>H</kbd> - {{__ 'cursorMovement.commands.H'}}
</li>
Expand Down

0 comments on commit ffc76af

Please sign in to comment.