mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-17 01:50:05 +00:00
Merge pull request #4775 from Me1onRind/add_duplicate_tab_hotkey
This commit is contained in:
commit
7f733b8029
@ -111,6 +111,9 @@ export class AppRootComponent {
|
|||||||
if (hotkey === 'reopen-tab') {
|
if (hotkey === 'reopen-tab') {
|
||||||
this.app.reopenLastTab()
|
this.app.reopenLastTab()
|
||||||
}
|
}
|
||||||
|
if (hotkey === 'duplicate-tab') {
|
||||||
|
this.app.duplicateTab(this.app.activeTab)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (hotkey === 'toggle-fullscreen') {
|
if (hotkey === 'toggle-fullscreen') {
|
||||||
hostWindow.toggleFullscreen()
|
hostWindow.toggleFullscreen()
|
||||||
|
@ -20,6 +20,7 @@ hotkeys:
|
|||||||
- 'Ctrl-Shift-PageDown'
|
- 'Ctrl-Shift-PageDown'
|
||||||
rearrange-panes:
|
rearrange-panes:
|
||||||
- 'Ctrl-Shift'
|
- 'Ctrl-Shift'
|
||||||
|
duplicate-tab: []
|
||||||
tab-1:
|
tab-1:
|
||||||
- 'Alt-1'
|
- 'Alt-1'
|
||||||
tab-2:
|
tab-2:
|
||||||
|
@ -38,6 +38,7 @@ hotkeys:
|
|||||||
- '⌘-9'
|
- '⌘-9'
|
||||||
tab-10:
|
tab-10:
|
||||||
- '⌘-0'
|
- '⌘-0'
|
||||||
|
duplicate-tab: []
|
||||||
tab-11: []
|
tab-11: []
|
||||||
tab-12: []
|
tab-12: []
|
||||||
tab-13: []
|
tab-13: []
|
||||||
|
@ -21,6 +21,7 @@ hotkeys:
|
|||||||
- 'Ctrl-Shift-PageDown'
|
- 'Ctrl-Shift-PageDown'
|
||||||
rearrange-panes:
|
rearrange-panes:
|
||||||
- 'Ctrl-Shift'
|
- 'Ctrl-Shift'
|
||||||
|
duplicate-tab: []
|
||||||
tab-1:
|
tab-1:
|
||||||
- 'Alt-1'
|
- 'Alt-1'
|
||||||
tab-2:
|
tab-2:
|
||||||
|
@ -51,6 +51,10 @@ export class AppHotkeyProvider extends HotkeyProvider {
|
|||||||
id: 'rearrange-panes',
|
id: 'rearrange-panes',
|
||||||
name: 'Show pane labels (for rearranging)',
|
name: 'Show pane labels (for rearranging)',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'duplicate-tab',
|
||||||
|
name: 'Duplicate tab',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 'tab-1',
|
id: 'tab-1',
|
||||||
name: 'Tab 1',
|
name: 'Tab 1',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user