forked from SublimeText/Origami
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Context.sublime-menu
134 lines (134 loc) · 6.76 KB
/
Context.sublime-menu
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[
{
"caption": "Origami",
"children":
[
// Destroy current pane
{
"caption": "Close current",
"command": "destroy_pane", "args": {"direction": "self"}
},
// Pane
{
"caption": "Pane",
"children":
[
{
"caption": "Create",
"children":
[
{ "command": "create_pane", "args": {"direction": "up"}, "caption": "Above" },
{ "command": "create_pane", "args": {"direction": "down"}, "caption": "Below" },
{ "command": "create_pane", "args": {"direction": "right"}, "caption": "Right" },
{ "command": "create_pane", "args": {"direction": "left"}, "caption": "Left" }
]
},
{
"caption": "Travel to",
"children":
[
{ "command": "travel_to_pane", "args": {"direction": "up"}, "caption": "Above" },
{ "command": "travel_to_pane", "args": {"direction": "down"}, "caption": "Below" },
{ "command": "travel_to_pane", "args": {"direction": "right"}, "caption": "Right" },
{ "command": "travel_to_pane", "args": {"direction": "left"}, "caption": "Left" }
]
}
]
},
// File
{
"caption": "File",
"children":
[
{
"caption": "Create to",
"children":
[
{ "command": "create_pane_with_file", "args": {"direction": "up"}, "caption": "Above" },
{ "command": "create_pane_with_file", "args": {"direction": "down"}, "caption": "Below" },
{ "command": "create_pane_with_file", "args": {"direction": "right"}, "caption": "Right" },
{ "command": "create_pane_with_file", "args": {"direction": "left"}, "caption": "Left" }
]
},
{
"caption": "Carry to",
"children":
[
{ "command": "carry_file_to_pane", "args": {"direction": "up"}, "caption": "Above" },
{ "command": "carry_file_to_pane", "args": {"direction": "down"}, "caption": "Below" },
{ "command": "carry_file_to_pane", "args": {"direction": "right"}, "caption": "Right" },
{ "command": "carry_file_to_pane", "args": {"direction": "left"}, "caption": "Left" }
]
},
{
"caption": "Clone to",
"children":
[
{ "command": "clone_file_to_pane", "args": {"direction": "up"}, "caption": "Above" },
{ "command": "clone_file_to_pane", "args": {"direction": "down"}, "caption": "Below" },
{ "command": "clone_file_to_pane", "args": {"direction": "right"}, "caption": "Right" },
{ "command": "clone_file_to_pane", "args": {"direction": "left"}, "caption": "Left" }
]
},
{
"caption": "Pull from",
"children":
[
{ "command": "pull_file_from_pane", "args": {"direction": "up"}, "caption": "Above" },
{ "command": "pull_file_from_pane", "args": {"direction": "down"}, "caption": "Below" },
{ "command": "pull_file_from_pane", "args": {"direction": "right"}, "caption": "Right" },
{ "command": "pull_file_from_pane", "args": {"direction": "left"}, "caption": "Left" }
]
},
{
"caption": "Focus on",
"children":
[
{ "command": "focus_file_on_pane", "args": {"direction": "up"}, "caption": "Above" },
{ "command": "focus_file_on_pane", "args": {"direction": "down"}, "caption": "Below" },
{ "command": "focus_file_on_pane", "args": {"direction": "right"}, "caption": "Right" },
{ "command": "focus_file_on_pane", "args": {"direction": "left"}, "caption": "Left" }
]
},
{
"caption": "Focus or Clone to",
"children":
[
{ "command": "focus_or_clone_file_on_pane", "args": {"direction": "up"}, "caption": "Above" },
{ "command": "focus_or_clone_file_on_pane", "args": {"direction": "down"}, "caption": "Below" },
{ "command": "focus_or_clone_file_on_pane", "args": {"direction": "right"}, "caption": "Right" },
{ "command": "focus_or_clone_file_on_pane", "args": {"direction": "left"}, "caption": "Left" }
]
}
]
},
// Window
{
"caption": "Window",
"children":
[
{
"caption": "New",
"children":
[
{ "command": "new_window_from_saved_layout", "caption": "From Saved Layout" },
{ "command": "new_window_with_current_layout", "caption": "With Current Layout" }
]
}
]
},
// Destroy
{
"caption": "Destroy",
"children":
[
{ "command": "destroy_pane", "args": {"direction": "up"}, "caption": "Above" },
{ "command": "destroy_pane", "args": {"direction": "down"}, "caption": "Below" },
{ "command": "destroy_pane", "args": {"direction": "right"}, "caption": "Right" },
{ "command": "destroy_pane", "args": {"direction": "left"}, "caption": "Left" },
{ "command": "destroy_pane", "args": {"direction": "self"}, "caption": "Current Pane" }
]
}
]
}
]