tabby/terminus-terminal/src/hotkeys.ts

29 lines
632 B
TypeScript
Raw Normal View History

import { Injectable } from '@angular/core'
import { IHotkeyDescription, HotkeyProvider } from 'terminus-core'
@Injectable()
export class TerminalHotkeyProvider extends HotkeyProvider {
hotkeys: IHotkeyDescription[] = [
2017-07-05 16:46:16 +00:00
{
id: 'copy',
name: 'Copy to clipboard',
},
{
id: 'zoom-in',
name: 'Zoom in',
},
{
id: 'zoom-out',
name: 'Zoom out',
},
{
id: 'reset-zoom',
name: 'Reset zoom',
},
{
id: 'new-tab',
name: 'New tab',
},
]
}