Created
August 3, 2016 20:31
-
-
Save technicallyrite/708756921a1eb6b7b95d925017b77408 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
// arrow keys to ijkl, relies on an OSX keymap for home and end | |
{ "keys": ["ctrl+j"], "command": "move", "args": {"by": "characters", "forward": false} }, | |
{ "keys": ["ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true} }, | |
{ "keys": ["ctrl+i"], "command": "move", "args": {"by": "lines", "forward": false} }, | |
{ "keys": ["ctrl+k"], "command": "move", "args": {"by": "lines", "forward": true} }, | |
{ "keys": ["shift+ctrl+j"], "command": "move", "args": {"by": "characters", "forward": false, "extend": true} }, | |
{ "keys": ["shift+ctrl+l"], "command": "move", "args": {"by": "characters", "forward": true, "extend": true} }, | |
{ "keys": ["shift+ctrl+i"], "command": "move", "args": {"by": "lines", "forward": false, "extend": true} }, | |
{ "keys": ["shift+ctrl+k"], "command": "move", "args": {"by": "lines", "forward": true, "extend": true} }, | |
// scroll | |
{ "keys": ["ctrl+alt+j"], "command": "scroll_lines", "args": {"amount": 1.0 } }, | |
{ "keys": ["ctrl+alt+k"], "command": "scroll_lines", "args": {"amount": -1.0 } }, | |
// move by words | |
{ "keys": ["ctrl+alt+j"], "command": "move", "args": {"by": "words", "forward": false} }, | |
{ "keys": ["ctrl+alt+l"], "command": "move", "args": {"by": "word_ends", "forward": true} }, | |
{ "keys": ["ctrl+shift+alt+j"], "command": "move", "args": {"by": "words", "forward": false, "extend": true} }, | |
{ "keys": ["ctrl+shift+alt+l"], "command": "move", "args": {"by": "word_ends", "forward": true, "extend": true} } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment