-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default.sublime-mousemap
67 lines (59 loc) · 4.73 KB
/
Default.sublime-mousemap
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[
{ "button": "button1", "count": 1, "press_command": "_" },
{ "button": "button1", "count": 1, "modifiers": ["ctrl"], "press_command": "_" },
{ "button": "button1", "count": 1, "modifiers": ["alt"], "press_command": "_" },
{ "button": "button1", "modifiers": ["shift"], "press_command": "_" },
{ "button": "button1", "modifiers": ["shift", "ctrl"], "press_command": "_" },
{ "button": "button1", "modifiers": ["shift", "alt"], "press_command": "_" },
{ "button": "button1", "count": 2, "press_command": "_" },
{ "button": "button1", "count": 2, "modifiers": ["ctrl"], "press_command": "_" },
{ "button": "button1", "count": 2, "modifiers": ["alt"], "press_command": "_" },
{ "button": "button1", "count": 3, "press_command": "_", },
{ "button": "button1", "count": 3, "modifiers": ["ctrl"], "press_command": "_", },
{ "button": "button1", "count": 3, "modifiers": ["alt"], "press_command": "_", },
{ "button": "button2", "modifiers": ["shift"], "press_command": "_", },
{ "button": "button2", "modifiers": ["shift", "ctrl"], "press_command": "_", },
{ "button": "button2", "modifiers": ["shift", "alt"], "press_command": "_", },
{ "button": "button3", "press_command": "_", },
{ "button": "button3", "modifiers": ["ctrl"], "press_command": "_", },
{ "button": "button3", "modifiers": ["alt"], "press_command": "_", },
{ "button": "button1", "count": 1, "modifiers": ["button2"], "press_command": "_" },
{ "button": "button1", "count": 2, "modifiers": ["button2"], "press_command": "_" },
{ "button": "button1", "count": 3, "modifiers": ["button2"], "press_command": "_" },
{ "button": "button4", "modifiers": [], "command": "_" },
{ "button": "button5", "modifiers": [], "command": "_" },
{ "button": "scroll_down", "modifiers": ["button2"], "command": "_" },
{ "button": "scroll_up", "modifiers": ["button2"], "command": "_" },
{ "button": "scroll_down", "modifiers": ["ctrl"], "command": "_" },
{ "button": "scroll_up", "modifiers": ["ctrl"], "command": "_" },
{ "button": "button2", "modifiers": [], "command": "_" },
//////////////////////////////////////////////////
// Basic drag select
{ "button": "button1", "press_command": "drag_select"},
{ "button": "button1", "modifiers": ["ctrl"], "press_command": "drag_select", "press_args": {"additive": true} },
{ "button": "button1", "modifiers": ["shift"], "press_command": "drag_select", "press_args": {"extend": true} },
// Drag select by words/lines
{ "button": "button1", "count": 2, "press_command": "drag_select", "press_args": {"by": "words"} },
{ "button": "button1", "count": 2, "modifiers": ["ctrl"], "press_command": "drag_select", "press_args": {"by": "words", "additive": true} },
{ "button": "button1", "count": 3, "press_command": "drag_select", "press_args": {"by": "lines"} },
{ "button": "button1", "count": 3, "modifiers": ["ctrl"], "press_command": "drag_select", "press_args": {"by": "lines", "additive": true} },
// Drag select by paragraph
{ "button": "button3", "command": "expand_selection_to_paragraph", "press_command": "drag_select" },
{ "button": "button3", "modifiers": ["ctrl"], "command": "expand_selection_to_paragraph", "press_command": "drag_select", "press_args": {"additive": true} },
{ "button": "button3", "modifiers": ["shift"], "command": "expand_selection_to_paragraph", "press_command": "drag_select", "press_args": {"extend": true} },
// Drag unselect
{ "button": "button2", "count": 1, "press_command": "drag_select", "press_args": {"subtractive": true} },
// { "button": "button2", "count": 2, "press_command": "drag_select", "press_args": {"by": "words", "subtractive": true} },
// { "button": "button2", "count": 3, "press_command": "drag_select", "press_args": {"by": "lines", "subtractive": true} },
// { "button": "button3", "modifiers": ["button2"], "command": "expand_selection_to_paragraph_sub", "press_command": "drag_select", "press_args": {"subtractive": true} },
// Column select
{ "button": "button1", "modifiers": ["alt"], "press_command": "drag_select", "press_args": {"by": "columns"} },
{ "button": "button1", "modifiers": ["ctrl", "alt"], "press_command": "drag_select", "press_args": {"by": "columns", "additive": true} },
{ "button": "button2", "modifiers": ["alt"], "press_command": "drag_select", "press_args": {"by": "columns", "subtractive": true} },
// Back/forward with buttons 4 and 5
{ "button": "button4", "modifiers": [], "command": "jump_back" },
{ "button": "button5", "modifiers": [], "command": "jump_forward" },
// Change font size with ctrl+scroll wheel
{ "button": "scroll_down", "modifiers": ["ctrl"], "command": "decrease_font_size" },
{ "button": "scroll_up", "modifiers": ["ctrl"], "command": "increase_font_size" },
]