Skip to content

Commit 9fe9bc4

Browse files
add keyboard shortcuts to profile menus
1 parent 30266ac commit 9fe9bc4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/menus/menus/shell.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@ export default (
5050
submenu: [
5151
{
5252
label: 'New Tab',
53+
accelerator: commandKeys[`tab:new:${profile}`],
5354
click(item, focusedWindow) {
5455
execCommand(`tab:new:${profile}`, focusedWindow);
5556
}
5657
},
5758
{
5859
label: 'New Window',
60+
accelerator: commandKeys[`window:new:${profile}`],
5961
click(item, focusedWindow) {
6062
execCommand(`window:new:${profile}`, focusedWindow);
6163
}
@@ -65,12 +67,14 @@ export default (
6567
},
6668
{
6769
label: 'Split Down',
70+
accelerator: commandKeys[`pane:splitDown:${profile}`],
6871
click(item, focusedWindow) {
6972
execCommand(`pane:splitDown:${profile}`, focusedWindow);
7073
}
7174
},
7275
{
7376
label: 'Split Right',
77+
accelerator: commandKeys[`pane:splitRight:${profile}`],
7478
click(item, focusedWindow) {
7579
execCommand(`pane:splitRight:${profile}`, focusedWindow);
7680
}

0 commit comments

Comments
 (0)