Split Vertically -> Split Right, Split Horizontally -> Split Down (#3559)

This commit is contained in:
J. Cameron McDonald 2019-07-30 17:03:33 -05:00 committed by CHaBou
parent 9418dfd3aa
commit 04a5e75c15
5 changed files with 14 additions and 14 deletions

View file

@ -22,17 +22,17 @@ module.exports = (commandKeys, execCommand) => {
type: 'separator'
},
{
label: 'Split Horizontally',
accelerator: commandKeys['pane:splitHorizontal'],
label: 'Split Down',
accelerator: commandKeys['pane:splitDown'],
click(item, focusedWindow) {
execCommand('pane:splitHorizontal', focusedWindow);
execCommand('pane:splitDown', focusedWindow);
}
},
{
label: 'Split Vertically',
accelerator: commandKeys['pane:splitVertical'],
label: 'Split Right',
accelerator: commandKeys['pane:splitRight'],
click(item, focusedWindow) {
execCommand('pane:splitVertical', focusedWindow);
execCommand('pane:splitRight', focusedWindow);
}
},
{