-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDiff Context.sublime-menu
More file actions
29 lines (29 loc) · 1.01 KB
/
Copy pathDiff Context.sublime-menu
File metadata and controls
29 lines (29 loc) · 1.01 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
[
{
"caption": "在编辑器中打开…",
"command": "open_in_editor",
"args": { "path": "$working_dir/$path", "line": "$line", "col": "$col" }
},
{ "command": "open_context_url", "caption": "打开网址" },
{ "caption": "-" },
{ "command": "copy", "caption": "复制" },
{ "command": "select_all", "caption": "全选" },
{ "caption": "-" },
{ "command": "toggle_ignore_diff_whitespace", "caption": "忽略/显示空白字符更改" },
{
"caption": "自动换行",
"id": "word_wrap",
"children":
[
{ "command": "set_word_wrap", "caption": "自动", "args": {"word_wrap": "auto" }, "checkbox": true },
{ "command": "set_word_wrap", "caption": "启用", "args": {"word_wrap": true }, "checkbox": true },
{ "command": "set_word_wrap", "caption": "禁用", "args": {"word_wrap": false }, "checkbox": true },
],
},
{ "caption": "-" },
{
"caption": "编辑暂存内容…",
"command": "edit_staged_file",
"args": { "staged": "$staged", "path": "$path", "line": "$line", "col": "$col" }
},
]