Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add context-menu items to tree view and tabs #213

Merged
merged 1 commit into from
Dec 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions menus/x-terminal.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,44 +76,44 @@
"command": "x-terminal:close-all"
}
],
"atom-text-editor": [{
"atom-text-editor, .tree-view, .tab-bar": [{
"label": "X Terminal",
"submenu": [
{
"label": "Open New Terminal",
"command": "x-terminal:open"
"command": "x-terminal:open-context-menu"
},
{
"label": "Focus On Terminal",
"command": "x-terminal:focus"
},
{
"label": "Open New Terminal (Split Up)",
"command": "x-terminal:open-split-up"
"command": "x-terminal:open-split-up-context-menu"
},
{
"label": "Open New Terminal (Split Down)",
"command": "x-terminal:open-split-down"
"command": "x-terminal:open-split-down-context-menu"
},
{
"label": "Open New Terminal (Split Left)",
"command": "x-terminal:open-split-left"
"command": "x-terminal:open-split-left-context-menu"
},
{
"label": "Open New Terminal (Split Right)",
"command": "x-terminal:open-split-right"
"command": "x-terminal:open-split-right-context-menu"
},
{
"label": "Open New Terminal (Bottom Dock)",
"command": "x-terminal:open-split-bottom-dock"
"command": "x-terminal:open-split-bottom-dock-context-menu"
},
{
"label": "Open New Terminal (Left Dock)",
"command": "x-terminal:open-split-left-dock"
"command": "x-terminal:open-split-left-dock-context-menu"
},
{
"label": "Open New Terminal (Right Dock)",
"command": "x-terminal:open-split-right-dock"
"command": "x-terminal:open-split-right-dock-context-menu"
},
{
"label": "Reorganize Terminal Tabs (Current Pane)",
Expand Down
Loading