Skip to content

Commit

Permalink
Merge the official build-2065 *.sublime-menu files
Browse files Browse the repository at this point in the history
  • Loading branch information
maboloshi committed Dec 12, 2021
1 parent 2a59ede commit 361af5f
Show file tree
Hide file tree
Showing 7 changed files with 122 additions and 81 deletions.
17 changes: 17 additions & 0 deletions Commit Author.sublime-menu
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"caption": "Copy Author",
"command": "copy_to_clipboard",
"args": {"text": "$author <$email>"}
},
{
"caption": "Copy Author Name",
"command": "copy_to_clipboard",
"args": {"text": "$author"}
},
{
"caption": "Copy Author Email",
"command": "copy_to_clipboard",
"args": {"text": "$email"}
},
]
7 changes: 7 additions & 0 deletions Commit Date.sublime-menu
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"caption": "Copy Date",
"command": "copy_to_clipboard",
"args": {"text": "$date"}
}
]
7 changes: 7 additions & 0 deletions Commit Tree.sublime-menu
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"caption": "Copy Tree",
"command": "copy_to_clipboard",
"args": {"text": "$tree"}
}
]
14 changes: 14 additions & 0 deletions Commit Visibility.sublime-menu
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"command": "hide_all_commit_refs",
"args": {"commit": "$commit"}
},
{
"command": "hide_all_refs_except_refs_at_commit",
"args": {"commit": "$commit"}
},
{
"caption": "Show All Hidden Branches",
"command": "show_all_refs"
},
]
12 changes: 0 additions & 12 deletions Commit.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,6 @@
"command": "cherry_pick",
}
},
{
"command": "hide_all_commit_refs",
"args": {"commit": "$commit"}
},
{
"command": "hide_all_refs_except_refs_at_commit",
"args": {"commit": "$commit"}
},
{
"caption": "显示所有隐藏的分支",
"command": "show_all_refs"
},
{
"caption": "变基",
"command": "rebase_branch",
Expand Down
134 changes: 69 additions & 65 deletions Encoding.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,43 @@
"id": "set_encoding",
"children":
[
{ "caption": "UTF-8", "command": "set_encoding", "args": {"encoding": "utf-8" } },
{ "caption": "UTF-16 LE", "command": "set_encoding", "args": {"encoding": "utf-16 le" } },
{ "caption": "UTF-16 BE", "command": "set_encoding", "args": {"encoding": "utf-16 be" } },
{ "caption": "UTF-8", "command": "set_encoding", "args": { "encoding": "utf-8" } },
{ "caption": "UTF-16 LE", "command": "set_encoding", "args": { "encoding": "utf-16 le" } },
{ "caption": "UTF-16 BE", "command": "set_encoding", "args": { "encoding": "utf-16 be" } },
{ "caption": "-" },
{ "caption": "西方语 (Windows 1252)", "command": "set_encoding", "args": {"encoding": "Western (Windows 1252)" } },
{ "caption": "西方语 (ISO 8859-1)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-1)" } },
{ "caption": "西方语 (ISO 8859-3)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-3)" } },
{ "caption": "西方语 (ISO 8859-15)", "command": "set_encoding", "args": {"encoding": "Western (ISO 8859-15)" } },
{ "caption": "西方语 (Mac Roman)", "command": "set_encoding", "args": {"encoding": "Western (Mac Roman)" } },
{ "caption": "DOS (CP 437)", "command": "set_encoding", "args": {"encoding": "DOS (CP 437)" } },
{ "caption": "阿拉伯语 (Windows 1256)", "command": "set_encoding", "args": {"encoding": "Arabic (Windows 1256)" } },
{ "caption": "阿拉伯语 (ISO 8859-6)", "command": "set_encoding", "args": {"encoding": "Arabic (ISO 8859-6)" } },
{ "caption": "波罗海语 (Windows 1257)", "command": "set_encoding", "args": {"encoding": "Baltic (Windows 1257)" } },
{ "caption": "波罗海语 (ISO 8859-4)", "command": "set_encoding", "args": {"encoding": "Baltic (ISO 8859-4)" } },
{ "caption": "凯尔特语 (ISO 8859-14)", "command": "set_encoding", "args": {"encoding": "Celtic (ISO 8859-14)" } },
{ "caption": "中欧语 (Windows 1250)", "command": "set_encoding", "args": {"encoding": "Central European (Windows 1250)" } },
{ "caption": "中欧语 (ISO 8859-2)", "command": "set_encoding", "args": {"encoding": "Central European (ISO 8859-2)" } },
{ "caption": "中欧语 (Mac)", "command": "set_encoding", "args": {"encoding": "Central European (Mac)" } },
{ "caption": "西里尔语 (Windows 1251)", "command": "set_encoding", "args": {"encoding": "Cyrillic (Windows 1251)" } },
{ "caption": "西里尔语 (Windows 866)", "command": "set_encoding", "args": {"encoding": "Cyrillic (Windows 866)" } },
{ "caption": "西里尔语 (ISO 8859-5)", "command": "set_encoding", "args": {"encoding": "Cyrillic (ISO 8859-5)" } },
{ "caption": "西里尔语 (KOI8-R)", "command": "set_encoding", "args": {"encoding": "Cyrillic (KOI8-R)" } },
{ "caption": "西里尔语 (KOI8-U)", "command": "set_encoding", "args": {"encoding": "Cyrillic (KOI8-U)" } },
{ "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "set_encoding", "args": {"encoding": "Estonian (ISO 8859-13)" } },
{ "caption": "希腊语 (Windows 1253)", "command": "set_encoding", "args": {"encoding": "Greek (Windows 1253)" } },
{ "caption": "希腊语 (ISO 8859-7)", "command": "set_encoding", "args": {"encoding": "Greek (ISO 8859-7)" } },
{ "caption": "希伯来语 (Windows 1255)", "command": "set_encoding", "args": {"encoding": "Hebrew (Windows 1255)" } },
{ "caption": "希伯来语 (ISO 8859-8)", "command": "set_encoding", "args": {"encoding": "Hebrew (ISO 8859-8)" } },
{ "caption": "北欧语 (ISO 8859-10)", "command": "set_encoding", "args": {"encoding": "Nordic (ISO 8859-10)" } },
{ "caption": "罗马尼亚语 (ISO 8859-16)", "command": "set_encoding", "args": {"encoding": "Romanian (ISO 8859-16)" } },
{ "caption": "土耳其语 (Windows 1254)", "command": "set_encoding", "args": {"encoding": "Turkish (Windows 1254)" } },
{ "caption": "土耳其语 (ISO 8859-9)", "command": "set_encoding", "args": {"encoding": "Turkish (ISO 8859-9)" } },
{ "caption": "越南语 (Windows 1258)", "command": "set_encoding", "args": {"encoding": "Vietnamese (Windows 1258)" } },
{ "caption": "阿拉伯语 (ISO 8859-6)", "command": "set_encoding", "args": { "encoding": "Arabic (ISO 8859-6)" } },
{ "caption": "阿拉伯语 (Windows 1256)", "command": "set_encoding", "args": { "encoding": "Arabic (Windows 1256)" } },
{ "caption": "波罗海语 (ISO 8859-4)", "command": "set_encoding", "args": { "encoding": "Baltic (ISO 8859-4)" } },
{ "caption": "波罗海语 (Windows 1257)", "command": "set_encoding", "args": { "encoding": "Baltic (Windows 1257)" } },
{ "caption": "凯尔特语 (ISO 8859-14)", "command": "set_encoding", "args": { "encoding": "Celtic (ISO 8859-14)" } },
{ "caption": "中欧语 (ISO 8859-2)", "command": "set_encoding", "args": { "encoding": "Central European (ISO 8859-2)" } },
{ "caption": "中欧语 (Mac)", "command": "set_encoding", "args": { "encoding": "Central European (Mac)" } },
{ "caption": "中欧语 (Windows 1250)", "command": "set_encoding", "args": { "encoding": "Central European (Windows 1250)" } },
{ "caption": "简体中文 (GB18030)", "command": "set_encoding", "args": { "encoding": "Chinese (GB18030)" } },
{ "caption": "西里尔语 (ISO 8859-5)", "command": "set_encoding", "args": { "encoding": "Cyrillic (ISO 8859-5)" } },
{ "caption": "西里尔语 (KOI8-R)", "command": "set_encoding", "args": { "encoding": "Cyrillic (KOI8-R)" } },
{ "caption": "西里尔语 (KOI8-U)", "command": "set_encoding", "args": { "encoding": "Cyrillic (KOI8-U)" } },
{ "caption": "西里尔语 (Windows 1251)", "command": "set_encoding", "args": { "encoding": "Cyrillic (Windows 1251)" } },
{ "caption": "西里尔语 (Windows 866)", "command": "set_encoding", "args": { "encoding": "Cyrillic (Windows 866)" } },
{ "caption": "DOS (CP 437)", "command": "set_encoding", "args": { "encoding": "DOS (CP 437)" } },
{ "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "set_encoding", "args": { "encoding": "Estonian (ISO 8859-13)" } },
{ "caption": "希腊语 (ISO 8859-7)", "command": "set_encoding", "args": { "encoding": "Greek (ISO 8859-7)" } },
{ "caption": "希腊语 (Windows 1253)", "command": "set_encoding", "args": { "encoding": "Greek (Windows 1253)" } },
{ "caption": "希伯来语 (CP 862)", "command": "set_encoding", "args": { "encoding": "Hebrew (CP 862)" } },
{ "caption": "希伯来语 (ISO 8859-8)", "command": "set_encoding", "args": { "encoding": "Hebrew (ISO 8859-8)" } },
{ "caption": "希伯来语 (Windows 1255)", "command": "set_encoding", "args": { "encoding": "Hebrew (Windows 1255)" } },
{ "caption": "北欧语 (ISO 8859-10)", "command": "set_encoding", "args": { "encoding": "Nordic (ISO 8859-10)" } },
{ "caption": "罗马尼亚语 (ISO 8859-16)", "command": "set_encoding", "args": { "encoding": "Romanian (ISO 8859-16)" } },
{ "caption": "土耳其语 (ISO 8859-9)", "command": "set_encoding", "args": { "encoding": "Turkish (ISO 8859-9)" } },
{ "caption": "土耳其语 (Windows 1254)", "command": "set_encoding", "args": { "encoding": "Turkish (Windows 1254)" } },
{ "caption": "越南语 (Windows 1258)", "command": "set_encoding", "args": { "encoding": "Vietnamese (Windows 1258)" } },
{ "caption": "西方语 (ISO 8859-1)", "command": "set_encoding", "args": { "encoding": "Western (ISO 8859-1)" } },
{ "caption": "西方语 (ISO 8859-15)", "command": "set_encoding", "args": { "encoding": "Western (ISO 8859-15)" } },
{ "caption": "西方语 (ISO 8859-3)", "command": "set_encoding", "args": { "encoding": "Western (ISO 8859-3)" } },
{ "caption": "西方语 (Mac Roman)", "command": "set_encoding", "args": { "encoding": "Western (Mac Roman)" } },
{ "caption": "西方语 (Windows 1252)", "command": "set_encoding", "args": { "encoding": "Western (Windows 1252)" } },
{ "caption": "-" },
{ "caption": "十六进制", "command": "set_encoding", "args": {"encoding": "Hexadecimal" } }
{ "caption": "十六进制", "command": "set_encoding", "args": { "encoding": "Hexadecimal" } }
]
},

Expand All @@ -47,39 +49,41 @@
"id": "reopen_with_encoding",
"children":
[
{ "caption": "UTF-8", "command": "reopen", "args": {"encoding": "utf-8" } },
{ "caption": "UTF-16 LE", "command": "reopen", "args": {"encoding": "utf-16 le" } },
{ "caption": "UTF-16 BE", "command": "reopen", "args": {"encoding": "utf-16 be" } },
{ "caption": "UTF-8", "command": "reopen", "args": { "encoding": "utf-8" } },
{ "caption": "UTF-16 LE", "command": "reopen", "args": { "encoding": "utf-16 le" } },
{ "caption": "UTF-16 BE", "command": "reopen", "args": { "encoding": "utf-16 be" } },
{ "caption": "-" },
{ "caption": "西方语 (Windows 1252)", "command": "reopen", "args": {"encoding": "Western (Windows 1252)" } },
{ "caption": "西方语 (ISO 8859-1)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-1)" } },
{ "caption": "西方语 (ISO 8859-3)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-3)" } },
{ "caption": "西方语 (ISO 8859-15)", "command": "reopen", "args": {"encoding": "Western (ISO 8859-15)" } },
{ "caption": "西方语 (Mac Roman)", "command": "reopen", "args": {"encoding": "Western (Mac Roman)" } },
{ "caption": "DOS (CP 437)", "command": "reopen", "args": {"encoding": "DOS (CP 437)" } },
{ "caption": "阿拉伯语 (Windows 1256)", "command": "reopen", "args": {"encoding": "Arabic (Windows 1256)" } },
{ "caption": "阿拉伯语 (ISO 8859-6)", "command": "reopen", "args": {"encoding": "Arabic (ISO 8859-6)" } },
{ "caption": "波罗海语 (Windows 1257)", "command": "reopen", "args": {"encoding": "Baltic (Windows 1257)" } },
{ "caption": "波罗海语 (ISO 8859-4)", "command": "reopen", "args": {"encoding": "Baltic (ISO 8859-4)" } },
{ "caption": "凯尔特语 (ISO 8859-14)", "command": "reopen", "args": {"encoding": "Celtic (ISO 8859-14)" } },
{ "caption": "中欧语 (Windows 1250)", "command": "reopen", "args": {"encoding": "Central European (Windows 1250)" } },
{ "caption": "中欧语 (ISO 8859-2)", "command": "reopen", "args": {"encoding": "Central European (ISO 8859-2)" } },
{ "caption": "中欧语 (Mac)", "command": "reopen", "args": {"encoding": "Central European (Mac)" } },
{ "caption": "西里尔语 (Windows 1251)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 1251)" } },
{ "caption": "西里尔语 (Windows 866)", "command": "reopen", "args": {"encoding": "Cyrillic (Windows 866)" } },
{ "caption": "西里尔语 (ISO 8859-5)", "command": "reopen", "args": {"encoding": "Cyrillic (ISO 8859-5)" } },
{ "caption": "西里尔语 (KOI8-R)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-R)" } },
{ "caption": "西里尔语 (KOI8-U)", "command": "reopen", "args": {"encoding": "Cyrillic (KOI8-U)" } },
{ "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "reopen", "args": {"encoding": "Estonian (ISO 8859-13)" } },
{ "caption": "希腊语 (Windows 1253)", "command": "reopen", "args": {"encoding": "Greek (Windows 1253)" } },
{ "caption": "希腊语 (ISO 8859-7)", "command": "reopen", "args": {"encoding": "Greek (ISO 8859-7)" } },
{ "caption": "希伯来语 (Windows 1255)", "command": "reopen", "args": {"encoding": "Hebrew (Windows 1255)" } },
{ "caption": "希伯来语 (ISO 8859-8)", "command": "reopen", "args": {"encoding": "Hebrew (ISO 8859-8)" } },
{ "caption": "北欧语 (ISO 8859-10)", "command": "reopen", "args": {"encoding": "Nordic (ISO 8859-10)" } },
{ "caption": "罗马尼亚语 (ISO 8859-16)", "command": "reopen", "args": {"encoding": "Romanian (ISO 8859-16)" } },
{ "caption": "土耳其语 (Windows 1254)", "command": "reopen", "args": {"encoding": "Turkish (Windows 1254)" } },
{ "caption": "土耳其语 (ISO 8859-9)", "command": "reopen", "args": {"encoding": "Turkish (ISO 8859-9)" } },
{ "caption": "越南语 (Windows 1258)", "command": "reopen", "args": {"encoding": "Vietnamese (Windows 1258)" } },
{ "caption": "阿拉伯语 (ISO 8859-6)", "command": "reopen", "args": { "encoding": "Arabic (ISO 8859-6)" } },
{ "caption": "阿拉伯语 (Windows 1256)", "command": "reopen", "args": { "encoding": "Arabic (Windows 1256)" } },
{ "caption": "波罗海语 (ISO 8859-4)", "command": "reopen", "args": { "encoding": "Baltic (ISO 8859-4)" } },
{ "caption": "波罗海语 (Windows 1257)", "command": "reopen", "args": { "encoding": "Baltic (Windows 1257)" } },
{ "caption": "凯尔特语 (ISO 8859-14)", "command": "reopen", "args": { "encoding": "Celtic (ISO 8859-14)" } },
{ "caption": "中欧语 (ISO 8859-2)", "command": "reopen", "args": { "encoding": "Central European (ISO 8859-2)" } },
{ "caption": "中欧语 (Mac)", "command": "reopen", "args": { "encoding": "Central European (Mac)" } },
{ "caption": "中欧语 (Windows 1250)", "command": "reopen", "args": { "encoding": "Central European (Windows 1250)" } },
{ "caption": "简体中文 (GB18030)", "command": "reopen", "args": { "encoding": "Chinese (GB18030)" } },
{ "caption": "西里尔语 (ISO 8859-5)", "command": "reopen", "args": { "encoding": "Cyrillic (ISO 8859-5)" } },
{ "caption": "西里尔语 (KOI8-R)", "command": "reopen", "args": { "encoding": "Cyrillic (KOI8-R)" } },
{ "caption": "西里尔语 (KOI8-U)", "command": "reopen", "args": { "encoding": "Cyrillic (KOI8-U)" } },
{ "caption": "西里尔语 (Windows 1251)", "command": "reopen", "args": { "encoding": "Cyrillic (Windows 1251)" } },
{ "caption": "西里尔语 (Windows 866)", "command": "reopen", "args": { "encoding": "Cyrillic (Windows 866)" } },
{ "caption": "DOS (CP 437)", "command": "reopen", "args": { "encoding": "DOS (CP 437)" } },
{ "caption": "爱沙尼亚语 (ISO 8859-13)", "command": "reopen", "args": { "encoding": "Estonian (ISO 8859-13)" } },
{ "caption": "希腊语 (ISO 8859-7)", "command": "reopen", "args": { "encoding": "Greek (ISO 8859-7)" } },
{ "caption": "希腊语 (Windows 1253)", "command": "reopen", "args": { "encoding": "Greek (Windows 1253)" } },
{ "caption": "希伯来语 (CP 862)", "command": "reopen", "args": { "encoding": "Hebrew (CP 862)" } },
{ "caption": "希伯来语 (ISO 8859-8)", "command": "reopen", "args": { "encoding": "Hebrew (ISO 8859-8)" } },
{ "caption": "希伯来语 (Windows 1255)", "command": "reopen", "args": { "encoding": "Hebrew (Windows 1255)" } },
{ "caption": "北欧语 (ISO 8859-10)", "command": "reopen", "args": { "encoding": "Nordic (ISO 8859-10)" } },
{ "caption": "罗马尼亚语 (ISO 8859-16)", "command": "reopen", "args": { "encoding": "Romanian (ISO 8859-16)" } },
{ "caption": "土耳其语 (ISO 8859-9)", "command": "reopen", "args": { "encoding": "Turkish (ISO 8859-9)" } },
{ "caption": "土耳其语 (Windows 1254)", "command": "reopen", "args": { "encoding": "Turkish (Windows 1254)" } },
{ "caption": "越南语 (Windows 1258)", "command": "reopen", "args": { "encoding": "Vietnamese (Windows 1258)" } },
{ "caption": "西方语 (ISO 8859-1)", "command": "reopen", "args": { "encoding": "Western (ISO 8859-1)" } },
{ "caption": "西方语 (ISO 8859-15)", "command": "reopen", "args": { "encoding": "Western (ISO 8859-15)" } },
{ "caption": "西方语 (ISO 8859-3)", "command": "reopen", "args": { "encoding": "Western (ISO 8859-3)" } },
{ "caption": "西方语 (Mac Roman)", "command": "reopen", "args": { "encoding": "Western (Mac Roman)" } },
{ "caption": "西方语 (Windows 1252)", "command": "reopen", "args": { "encoding": "Western (Windows 1252)" } },
{ "caption": "-" },
{ "caption": "十六进制", "command": "reopen", "args": {"encoding": "Hexadecimal" } }
]
Expand Down
12 changes: 8 additions & 4 deletions Side Bar Layout Options.sublime-menu
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
[
{
"caption": "单栏",
"command": "set_preference", "args": { "setting": "side_bar_layout", "value": "tabs" }
"command": "set_preference", "args": { "setting": "side_bar_layout", "value": "tabs" },
"checkbox": true,
},
{
"caption": "双栏 (文件栏在左侧)",
"command": "set_preference", "args": { "setting": "side_bar_layout", "value": "commit_graph_as_column" }
"command": "set_preference", "args": { "setting": "side_bar_layout", "value": "commit_graph_as_column" },
"checkbox": true,
},
{
"caption": "双栏 (文件栏在右侧)",
"command": "set_preference", "args": { "setting": "side_bar_layout", "value": "locations_as_column" }
"command": "set_preference", "args": { "setting": "side_bar_layout", "value": "locations_as_column" },
"checkbox": true,
},
{
"caption": "三栏",
"command": "set_preference", "args": { "setting": "side_bar_layout", "value": "columns" }
"command": "set_preference", "args": { "setting": "side_bar_layout", "value": "columns" },
"checkbox": true,
},
]

0 comments on commit 361af5f

Please sign in to comment.