-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default (Linux).sublime-keymap
40 lines (33 loc) · 1.69 KB
/
Default (Linux).sublime-keymap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[
// Vi mappings
{ "keys": ["ctrl+w"], "command": "delete_word", "args": { "forward": false },
"context": [
{ "key": "setting.command_mode", "operand": false },
{ "key": "setting.is_widget", "operand": false }
]},
{ "keys": ["g", "t"], "command": "next_view",
"context": [
{ "key": "setting.command_mode", "operand": true },
{ "key": "setting.is_widget", "operand": false }]
},
{ "keys": ["g", "T"], "command": "prev_view",
"context": [
{ "key": "setting.command_mode", "operand": true },
{ "key": "setting.is_widget", "operand": false }]
},
{ "keys": ["ctrl+y"], "command": "scroll_lines", "args": {"amount": 1.0 } },
{ "keys": ["ctrl+e"], "command": "scroll_lines", "args": {"amount": -1.0 } },
{ "keys": ["ctrl+r"], "command": "redo" },
{ "keys": ["ctrl+p"], "command": "auto_complete" },
{ "keys": ["f1"], "command": "py_help" },
{ "keys": ["ctrl+w"], "command": "" },
// Remappings of sublime text so I can use the vi behaviour
{ "keys": ["ctrl+q"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
{ "keys": ["ctrl+shift+q"], "command": "goto_symbol_in_project"},
{ "keys": ["ctrl+o"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["ctrl+shift+o"], "command": "prompt_open_file" },
{ "keys": ["ctrl+space"], "command": "show_overlay", "args": {"overlay": "command_palette"} }
// Plugins
//,{"keys": ["shift+ctrl+g"], "command": "git_grep"}
//,{ "keys": ["ctrl+shift+x"], "command": "set_action", "args": {"action": "vi_ctrl_x"}, "context": [{"key": "vi_use_ctrl_keys"}, {"key": "setting.command_mode"}]},
]