Last active
August 29, 2015 14:18
-
-
Save alehano/3729edd107c752935237 to your computer and use it in GitHub Desktop.
Sublime text move cursor with CTRL+JLIKUO
This file contains hidden or 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+l"], "command": "move_to", "args": {"to": "hardeol", "extend": false} }, | |
{ "keys": ["ctrl+j"], "command": "move_to", "args": {"to": "hardbol", "extend": false} }, | |
{ "keys": ["ctrl+i"], "command": "line_jumper", "args": { "number_of_lines": 10, "cmd": "up" } }, | |
{ "keys": ["ctrl+shift+i"], "command": "line_jumper", "args": { "number_of_lines": 10, "cmd": "up_select" } }, | |
{ "keys": ["ctrl+k"], "command": "line_jumper", "args": { "number_of_lines": 10, "cmd": "down" } }, | |
{ "keys": ["ctrl+shift+k"], "command": "line_jumper", "args": { "number_of_lines": 10, "cmd": "down_select" } }, | |
// Move cursor with cmd + jlik, i o | |
{ "keys": ["command+u"], "command": "move", "args": {"by": "subwords", "forward": false} }, | |
{ "keys": ["command+o"], "command": "move", "args": {"by": "subwords", "forward": true} }, | |
{ "keys": ["command+j"], "command": "move", "args": {"by": "characters", "forward": false} }, | |
{ "keys": ["command+l"], "command": "move", "args": {"by": "characters", "forward": true} }, | |
{ "keys": ["command+i"], "command": "move", "args": {"by": "lines", "forward": false} }, | |
{ "keys": ["command+k"], "command": "move", "args": {"by": "lines", "forward": true} }, | |
{ "keys": ["command+shift+u"], "command": "move", "args": {"by": "subwords", "forward": false, "extend": true} }, | |
{ "keys": ["command+shift+o"], "command": "move", "args": {"by": "subword_ends", "forward": true, "extend": true} }, | |
{ "keys": ["command+shift+j"], "command": "move", "args": {"by": "characters", "forward": false, "extend": true} }, | |
{ "keys": ["command+shift+l"], "command": "move", "args": {"by": "characters", "forward": true, "extend": true} }, | |
{ "keys": ["command+shift+i"], "command": "move", "args": {"by": "lines", "forward": false, "extend": true} }, | |
{ "keys": ["command+shift+k"], "command": "move", "args": {"by": "lines", "forward": true, "extend": true} }, | |
// experiment | |
// { "keys": ["ctrl+/"], "command": "gs_comment_forward", "context": [{ "key": "selector", "operator": "equal", "operand": "source.go" }] }, | |
// { "keys": ["super+d"], "command": "duplicate_line" }, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment