Created
October 13, 2017 23:23
-
-
Save polodev/9e1b8331e95eea78f54579651cc39ea8 to your computer and use it in GitHub Desktop.
sublime keybindings
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
[ | |
//for changing vim mode in origin Vintage | |
{ "keys": ["j", "j"], "command": "exit_insert_mode", | |
"context": | |
[ | |
{ "key": "setting.command_mode", "operand": false }, | |
{ "key": "setting.is_widget", "operand": false } | |
] | |
}, | |
//for changing to normal mode in vintageous | |
{ | |
"keys": ["j", "j"], | |
"command": "_enter_normal_mode", | |
"args": { | |
"mode": "mode_insert" | |
}, | |
"context": [{"key": "vi_insert_mode_aware"}] | |
}, | |
{ "keys": ["shift+tab"], "command": "expand_abbreviation_by_tab", | |
"context": [ | |
{ | |
"operand": "source.js", | |
"operator": "equal", | |
"match_all": true, | |
"key": "selector" | |
}, | |
{ | |
"key": "selection_empty", | |
"operator": "equal", | |
"operand": true, | |
"match_all": true | |
} | |
] | |
}, | |
//for changing tab like vim style | |
{ "keys": [",", "g", "p"], "command": "prev_view_in_stack" }, | |
{ "keys": [",", "g", "t"], "command": "next_view_in_stack" }, | |
{ "keys": [",", "k", "b"], "command": "toggle_side_bar" }, | |
//for vintage mode toggle | |
{"keys": ["ctrl+shift+v"], "command": "toggle_setting", "args": {"setting": "vintage_lines.force_mode"}}, | |
{ "keys": ["ctrl+shift+t"], "command": "toggle_tabs" }, | |
//for toggling line number | |
{"keys": ["ctrl+shift+l"], "command": "toggle_setting", "args": {"setting": "line_numbers"} }, | |
//origami key binding | |
{ "keys": [",", "v", "s", "p"], "command": "carry_file_to_pane", "args": {"direction": "right"} }, | |
{ "keys": [",", "s", "p"], "command": "carry_file_to_pane", "args": {"direction": "down"} }, | |
{ "keys": [",", "b", "d"], "command": "destroy_pane", "args": {"direction": "self"} }, | |
{ "keys": [",", "w", "|"], "command": "zoom_pane", "args": {"fraction": 0.9} }, | |
{ "keys": [",", "w", "="], "command": "unzoom_pane", "args": {} }, | |
//for origami copied from main keymap | |
{ "keys": [",", "h"], "command": "focus_neighboring_group", "args": {"forward": false} }, | |
{ "keys": [",", "l"], "command": "focus_neighboring_group" }, | |
//for column selection i am reversing sublime key bindings with scroll_lines | |
{ "keys": ["ctrl+shift+up"], "command": "scroll_lines", "args": {"amount": 1.0} }, | |
{ "keys": ["ctrl+shift+down"], "command": "scroll_lines", "args": {"amount": -1.0} }, | |
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} }, | |
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} }, | |
{ "keys": ["f10"], "command": "find_use" }, | |
{ "keys": ["f12"], "command": "goto_definition_scope" } | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment