-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathExample.sublime-keymap
More file actions
77 lines (76 loc) · 3.19 KB
/
Copy pathExample.sublime-keymap
File metadata and controls
77 lines (76 loc) · 3.19 KB
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
76
77
// Suggested key bindings — none are active by default (Package Control
// guideline: packages should suggest bindings, not claim keys). This file's
// non-standard name means Sublime Text never loads it, so the entries below
// stay uncommented for easy copy/paste.
//
// The diff review UI is fully usable without keys: click ✓ Accept / ✗ Reject
// in the proposal pane, or run "Claude Code IDE: Accept Diff" / "Reject Diff"
// from the command palette.
//
// To bind keys, copy the entries you want into the right-hand pane of
// Preferences > Package Settings > Claude Code IDE > Key Bindings
// (your user keymap). The "context" guard keeps them inert everywhere
// except inside a Claude diff proposal view.
[
{
"keys": ["ctrl+alt+enter"],
"command": "claude_ide_diff_accept",
"context": [{ "key": "setting.claude_diff_tab", "operator": "not_equal", "operand": null }]
},
{
"keys": ["ctrl+alt+backspace"],
"command": "claude_ide_diff_reject",
"context": [{ "key": "setting.claude_diff_tab", "operator": "not_equal", "operand": null }]
},
// --- Recent Activity panel (inert outside the panel view) ---
// Open / focus the panel, and the fuzzy quick list, from anywhere:
{ "keys": ["ctrl+alt+a"], "command": "claude_ide_activity_open" },
{ "keys": ["ctrl+alt+shift+a"], "command": "claude_ide_activity_quick" },
// Inside the panel: Enter opens the file under the caret (or folds a project);
// double-click does the same without any binding.
{
"keys": ["enter"],
"command": "claude_ide_activity_activate",
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
},
{
"keys": ["r"],
"command": "claude_ide_activity_refresh",
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
},
{
"keys": ["c"],
"command": "claude_ide_activity_toggle_code",
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
},
{
"keys": ["h"],
"command": "claude_ide_activity_hide",
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
},
{
"keys": ["shift+h"],
"command": "claude_ide_activity_show_hidden",
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
},
{
"keys": ["1"], "command": "claude_ide_activity_set_window", "args": { "hours": 1 },
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
},
{
"keys": ["2"], "command": "claude_ide_activity_set_window", "args": { "hours": 6 },
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
},
{
"keys": ["3"], "command": "claude_ide_activity_set_window", "args": { "hours": 24 },
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
},
{
"keys": ["4"], "command": "claude_ide_activity_set_window", "args": { "hours": 72 },
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
},
{
"keys": ["5"], "command": "claude_ide_activity_set_window", "args": { "hours": 168 },
"context": [{ "key": "setting.claude_activity_panel", "operator": "equal", "operand": true }]
}
]