Last active
March 13, 2017 09:48
-
-
Save chriddyp/5de1d28f4465fecfe841 to your computer and use it in GitHub Desktop.
map the arrow keys to JKLI with `cntrl` and jump code blocks with `cntrl`-`option`-K, `cntrl`-`option`-I
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
[ | |
{ "keys": ["ctrl+j"], "command": "move", "args": {"by": "words", "forward": false} }, | |
{ "keys": ["ctrl+l"], "command": "move", "args": {"by": "words", "forward": true} }, | |
{ "keys": ["ctrl+k"], "command": "move", "args": {"by": "lines", "forward": true} }, | |
{ "keys": ["ctrl+i"], "command": "move", "args": {"by": "lines", "forward": false} }, | |
{ "keys": ["ctrl+alt+j"], "command": "move", "args": {"by": "words", "forward": false} }, | |
{ "keys": ["ctrl+alt+l"], "command": "move", "args": {"by": "words", "forward": true} }, | |
{ "keys": ["ctrl+alt+k"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true} }, | |
{ "keys": ["ctrl+alt+i"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false} }, | |
{ "keys": ["alt+j"], "command": "move", "args": {"by": "characters", "forward": false} }, | |
{ "keys": ["alt+l"], "command": "move", "args": {"by": "characters", "forward": true} }, | |
{ "keys": ["alt+k"], "command": "move", "args": {"by": "lines", "forward": true} }, | |
{ "keys": ["alt+i"], "command": "move", "args": {"by": "lines", "forward": false} }, | |
{ "keys": ["shift+ctrl+j"], "command": "move", "args": {"by": "words", "forward": false, "extend": true} }, | |
{ "keys": ["shift+ctrl+l"], "command": "move", "args": {"by": "words", "forward": true, "extend": true} }, | |
{ "keys": ["shift+ctrl+k"], "command": "move", "args": {"by": "lines", "forward": true, "extend": true} }, | |
{ "keys": ["shift+ctrl+i"], "command": "move", "args": {"by": "lines", "forward": false, "extend": true} }, | |
{ "keys": ["shift+ctrl+alt+j"], "command": "move", "args": {"by": "words", "forward": false, "extend": true} }, | |
{ "keys": ["shift+ctrl+alt+l"], "command": "move", "args": {"by": "words", "forward": true, "extend": true} }, | |
{ "keys": ["shift+ctrl+alt+k"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true, "extend": true} }, | |
{ "keys": ["shift+ctrl+alt+i"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false, "extend": true} }, | |
{ "keys": ["shift+alt+j"], "command": "move", "args": {"by": "characters", "forward": false, "extend": true} }, | |
{ "keys": ["shift+alt+l"], "command": "move", "args": {"by": "characters", "forward": true, "extend": true} }, | |
{ "keys": ["shift+alt+k"], "command": "move", "args": {"by": "lines", "forward": true, "extend": true} }, | |
{ "keys": ["shift+alt+i"], "command": "move", "args": {"by": "lines", "forward": false, "extend": true} }, | |
{"keys": ["alt+space"], "command": "insert", "args": {"characters": " "}} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great. Note however, that ALT + L is used in many latin-extended countries to create special chars eg.
ł