Skip to content

Commit

Permalink
hotkey naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Apr 16, 2019
1 parent 1a38cc3 commit 9dc2337
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions terminus-core/src/components/splitTab.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,19 +210,19 @@ export class SplitTabComponent extends BaseTabComponent implements OnInit, OnDes
case 'split-left':
this.splitTab(this.focusedTab, 'l')
break
case 'split-nav-left':
case 'pane-nav-left':
this.navigate('l')
break
case 'split-nav-right':
case 'pane-nav-right':
this.navigate('r')
break
case 'split-nav-up':
case 'pane-nav-up':
this.navigate('t')
break
case 'split-nav-down':
case 'pane-nav-down':
this.navigate('b')
break
case 'close-focus-pane':
case 'close-pane':
this.removeTab(this.focusedTab)
break
}
Expand Down
10 changes: 5 additions & 5 deletions terminus-core/src/configDefaults.linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ hotkeys:
- 'Ctrl-Shift-D'
split-left: []
split-top: []
split-nav-right:
pane-nav-right:
- 'Ctrl-Alt-ArrowRight'
split-nav-down:
pane-nav-down:
- 'Ctrl-Alt-ArrowDown'
split-nav-up:
pane-nav-up:
- 'Ctrl-Alt-ArrowUp'
split-nav-left:
pane-nav-left:
- 'Ctrl-Alt-ArrowLeft'
close-focus-pane: []
close-pane: []
pluginBlacklist: ['ssh']
10 changes: 5 additions & 5 deletions terminus-core/src/configDefaults.macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ hotkeys:
- '⌘-D'
split-left: []
split-top: []
split-nav-right:
pane-nav-right:
- '⌘-⌥-ArrowRight'
split-nav-down:
pane-nav-down:
- '⌘-⌥-ArrowDown'
split-nav-up:
pane-nav-up:
- '⌘-⌥-ArrowUp'
split-nav-left:
pane-nav-left:
- '⌘-⌥-ArrowLeft'
close-focus-pane:
close-pane:
- '⌘-Shift-W'
pluginBlacklist: ['ssh']
10 changes: 5 additions & 5 deletions terminus-core/src/configDefaults.windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ hotkeys:
- 'Ctrl-Shift-D'
split-left: []
split-top: []
split-nav-right:
pane-nav-right:
- 'Ctrl-Alt-ArrowRight'
split-nav-down:
pane-nav-down:
- 'Ctrl-Alt-ArrowDown'
split-nav-up:
pane-nav-up:
- 'Ctrl-Alt-ArrowUp'
split-nav-left:
pane-nav-left:
- 'Ctrl-Alt-ArrowLeft'
close-focus-pane: []
close-pane: []
pluginBlacklist: []
10 changes: 5 additions & 5 deletions terminus-core/src/hotkeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,23 +94,23 @@ export class AppHotkeyProvider extends HotkeyProvider {
name: 'Split to the top',
},
{
id: 'split-nav-up',
id: 'pane-nav-up',
name: 'Focus the pane above',
},
{
id: 'split-nav-down',
id: 'pane-nav-down',
name: 'Focus the pane below',
},
{
id: 'split-nav-left',
id: 'pane-nav-left',
name: 'Focus the pane on the left',
},
{
id: 'split-nav-right',
id: 'pane-nav-right',
name: 'Focus the pane on the right',
},
{
id: 'close-focus-pane',
id: 'close-pane',
name: 'Close focused pane',
},
]
Expand Down

0 comments on commit 9dc2337

Please sign in to comment.