-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsbp.sublime-commands
75 lines (66 loc) · 6.32 KB
/
sbp.sublime-commands
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
68
69
70
71
72
73
74
75
[
//
// Motion commands: forward/backward word, identifiers (sexpression), beginning/end of file/window,
//
{"caption": "Sublemacs - Forward Word", "command": "sbp_move_word", "args": {"direction": 1}},
{"caption": "Sublemacs - Forward S-expression", "command": "sbp_move_sexpr", "args": {"direction": 1}},
{"caption": "Sublemacs - Backward Word", "command": "sbp_move_word", "args": {"direction": -1}},
{"caption": "Sublemacs - Backward S-expression", "command": "sbp_move_sexpr", "args": {"direction": -1}},
{"caption": "Sublemacs - Capitalize Word", "command": "sbp_case_word", "args": {"direction": 1, "mode": "title"}},
{"caption": "Sublemacs - Uppercase Word", "command": "sbp_case_word", "args": {"direction": 1, "mode": "upper"}},
{"caption": "Sublemacs - Lowercase Word", "command": "sbp_case_word", "args": {"direction": 1, "mode": "lower"}},
{"caption": "Sublemacs - Go to End of File", "command": "sbp_move_to", "args": {"to": "eof"}},
{"caption": "Sublemacs - Go to Beginning of File", "command": "sbp_move_to", "args": {"to": "bof"}},
{"caption": "Sublemacs - Go to End of Pane", "command": "sbp_move_to", "args": {"to": "eow"}},
{"caption": "Sublemacs - Go to Beginning of Pane", "command": "sbp_move_to", "args": {"to": "bow"}},
{"caption": "Sublemacs - Go to Line", "command": "sbp_goto_line"},
{"caption": "Sublemacs - Open line", "command": "sbp_open_line"},
{"caption": "Sublemacs - Center View Around Point", "command": "sbp_center_view"},
//
// Mark and point, kill region, kill line, yank and yank pop, deletion commands.
//
{"caption": "Sublemacs - Set Emacs-Style Mark", "command": "sbp_set_mark"},
{"caption": "Sublemacs - Swap Point and Mark", "command": "sbp_swap_point_and_mark"},
{"caption": "Sublemacs - Kill to End of Line", "command": "sbp_kill_line"},
{"caption": "Sublemacs - Kill Region", "command": "sbp_kill_region"},
{"caption": "Sublemacs - Copy Region", "command": "sbp_kill_region", "args": {"is_copy": true}},
{"caption": "Sublemacs - Yank", "command": "sbp_yank"},
{"caption": "Sublemacs - Yank Pop", "command": "sbp_yank", "args": {"pop": 1}},
{"caption": "Sublemacs - Yank Pop Backwards", "command": "sbp_yank", "args": {"pop": -1}},
{"caption": "Sublemacs - Kill Word Forward", "command": "sbp_move_then_delete", "args": {"move_cmd": "sbp_move_word", "direction": 1}},
{"caption": "Sublemacs - Kill Word Backward", "command": "sbp_move_then_delete", "args": {"move_cmd": "sbp_move_word", "direction": -1}},
{"caption": "Sublemacs - Kill S-expression", "command": "sbp_move_then_delete", "args": {"move_cmd": "sbp_move_sexpr", "direction": 1}},
{"caption": "Sublemacs - Delete White Space", "command": "sbp_delete_white_space"},
{"caption": "Sublemacs - I-Search Forward", "command": "sbp_inc_search", "args": {"forward": true, "regex": false}},
{"caption": "Sublemacs - I-Search Backward", "command": "sbp_inc_search", "args": {"forward": false, "regex": false}},
{"caption": "Sublemacs - I-Search Append From Cursor", "command": "sbp_inc_search", "args": {"cmd": "append_from_cursor"}},
{"caption": "Sublemacs - I-Search Keep and Next", "command": "sbp_inc_search", "args": {"cmd": "next", "keep": true}},
{"caption": "Sublemacs - I-Search Skip and Next", "command": "sbp_inc_search", "args": {"cmd": "next", "keep": false, "forward": true}},
{"caption": "Sublemacs - I-Search Pop", "command": "sbp_inc_search", "args": {"cmd": "pop"}},
// emacs-style numeric argument handling
{"caption": "Sublemacs - Emacs style universal argument", "command": "sbp_universal_argument", "args": {"value": "by_four"}},
{"caption": "Sublemacs - Supply Digit Argument", "command": "sbp_universal_argument", "args": {"value": "negative"}},
{"caption": "Sublemacs - Supply Digit Argument 1", "command": "sbp_universal_argument", "args": {"value": 1}},
{"caption": "Sublemacs - Supply Digit Argument 2", "command": "sbp_universal_argument", "args": {"value": 2}},
{"caption": "Sublemacs - Supply Digit Argument 3", "command": "sbp_universal_argument", "args": {"value": 3}},
{"caption": "Sublemacs - Supply Digit Argument 4", "command": "sbp_universal_argument", "args": {"value": 4}},
{"caption": "Sublemacs - Supply Digit Argument 5", "command": "sbp_universal_argument", "args": {"value": 5}},
{"caption": "Sublemacs - Supply Digit Argument 6", "command": "sbp_universal_argument", "args": {"value": 6}},
{"caption": "Sublemacs - Supply Digit Argument 7", "command": "sbp_universal_argument", "args": {"value": 7}},
{"caption": "Sublemacs - Supply Digit Argument 8", "command": "sbp_universal_argument", "args": {"value": 8}},
{"caption": "Sublemacs - Supply Digit Argument 9", "command": "sbp_universal_argument", "args": {"value": 9}},
{"caption": "Sublemacs - Supply Digit Argument 0", "command": "sbp_universal_argument", "args": {"value": 0}},
{"caption": "Sublemacs - Split Window Horizontal", "command": "sbp_pane_cmd", "args": {"cmd": "split", "stype": "h"}},
{"caption": "Sublemacs - Split Window Vertical", "command": "sbp_pane_cmd", "args": {"cmd": "split", "stype": "v"}},
{"caption": "Sublemacs - Grow Window", "command": "sbp_pane_cmd", "args": {"cmd": "grow", "amount": 1}},
{"caption": "Sublemacs - Shrink Window", "command": "sbp_pane_cmd", "args": {"cmd": "grow", "amount": -1}},
{"caption": "Sublemacs - Destroy Window", "command": "sbp_pane_cmd", "args": {"cmd": "destroy", "pane": "self"}},
{"caption": "Sublemacs - Destroy Other Windows", "command": "sbp_pane_cmd", "args": {"cmd": "destroy", "pane": "others"}},
{"caption": "Sublemacs - Go to Next Window", "command": "sbp_pane_cmd", "args": {"cmd": "move", "direction": "next"}},
{"caption": "Sublemacs - Go to Previous Window", "command": "sbp_pane_cmd", "args": {"cmd": "move", "direction": "prev"}},
{"caption": "Sublemacs - Previous Tab", "command": "sbp_pane_cmd", "args": {"cmd": "move", "direction": "left"}},
{"caption": "Sublemacs - Next Tab", "command": "sbp_pane_cmd", "args": {"cmd": "move", "direction": "right"}},
{"caption": "Sublemacs - Quit All Open Panels, Overlays and Selections", "command": "sbp_quit"},
{"caption": "Sublemacs - Convert PLIST to JSON", "command": "sbp_convert_plist_to_json"},
{"caption": "Sublemacs - Convert JSON to PLIST", "command": "sbp_convert_json_to_plist"}
]