mirror of
https://github.com/Eugeny/tabby
synced 2025-01-09 11:49:07 +00:00
26 lines
699 B
TypeScript
26 lines
699 B
TypeScript
import { ConfigProvider, Platform } from 'tabby-core'
|
|
|
|
/** @hidden */
|
|
export class ElectronConfigProvider extends ConfigProvider {
|
|
platformDefaults = {
|
|
[Platform.macOS]: {
|
|
hotkeys: {
|
|
'toggle-window': ['Ctrl-Space'],
|
|
'new-window': ['⌘-N'],
|
|
},
|
|
},
|
|
[Platform.Windows]: {
|
|
hotkeys: {
|
|
'toggle-window': ['Ctrl-Space'],
|
|
'new-window': ['Ctrl-Shift-N'],
|
|
},
|
|
},
|
|
[Platform.Linux]: {
|
|
hotkeys: {
|
|
'toggle-window': ['Ctrl-Space'],
|
|
'new-window': ['Ctrl-Shift-N'],
|
|
},
|
|
},
|
|
}
|
|
defaults = {}
|
|
}
|