| 1234567891011121314151617181920212223242526 |
- 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 = {}
- }
|