Skip to content

Instantly share code, notes, and snippets.

@kevindaus
Last active August 23, 2016 20:37
Show Gist options
  • Save kevindaus/ded2187f882b3ac5b3d7305f1c6953bb to your computer and use it in GitHub Desktop.
Save kevindaus/ded2187f882b3ac5b3d7305f1c6953bb to your computer and use it in GitHub Desktop.
How to remap hjkl in sublime text 2 vintage mode
{ "keys": ["k"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": true, "extend": true },
"linewise": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["i"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": false, "extend": true },
"linewise": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["l"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": true, "extend": true, "visual": false }},
"context": [{"key": "setting.command_mode"}]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment