Created
April 28, 2020 02:59
-
-
Save Fitzsimmons/3018ddf2f7d6170c076f31cc131d7bd8 to your computer and use it in GitHub Desktop.
Remap sublime vintage mode to ijkl
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": ["h"], "command": "enter_insert_mode", "context": [{"key": "setting.command_mode"}] }, | |
{ "keys": ["insert"], "command": "enter_insert_mode", "context": [{"key": "setting.command_mode"}] }, | |
{ "keys": ["H"], "command": "enter_insert_mode", "args": | |
{"insert_command": "vi_move_to_first_non_white_space_character"}, | |
"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"}] | |
}, | |
{ "keys": ["j"], "command": "set_motion", "args": { | |
"motion": "vi_move_by_characters_in_line", | |
"motion_args": {"forward": false, "extend": true }}, | |
"context": [{"key": "setting.command_mode"}] | |
}, | |
{ "keys": ["k"], "command": "set_motion", "args": { | |
"motion": "move", | |
"motion_args": {"by": "lines", "forward": true, "extend": true }}, | |
"context": [{"key": "setting.command_mode"}] | |
}, | |
{ "keys": ["i"], "command": "set_motion", "args": { | |
"motion": "move", | |
"motion_args": {"by": "lines", "forward": false, "extend": true }}, | |
"context": [{"key": "setting.command_mode"}] | |
} |
You're welcome, how did you find this? I don't even remember posting it! 😆
Ha! I don't remember at this point. I think reddit 😆
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for posting this! Exactly the setup I was looking for.