+
+ // Set HotKeys
+ this.hotkeys = [
+ new Hotkey('m s', (event: KeyboardEvent): boolean => {
+ this.router.navigate([ '/videos/subscriptions' ])
+ return false
+ }, undefined, 'Go to my subscriptions'),
+ new Hotkey('m v', (event: KeyboardEvent): boolean => {
+ this.router.navigate([ '/my-account/videos' ])
+ return false
+ }, undefined, 'Go to my videos'),
+ new Hotkey('m i', (event: KeyboardEvent): boolean => {
+ this.router.navigate([ '/my-account/video-imports' ])
+ return false
+ }, undefined, 'Go to my imports'),
+ new Hotkey('m c', (event: KeyboardEvent): boolean => {
+ this.router.navigate([ '/my-account/video-channels' ])
+ return false
+ }, undefined, 'Go to my channels')
+ ]