<NME> shortcuts.component.ts
<BEF> import {Component, OnInit} from '@angular/core'
import {ShortcutsService} from '../../../../core/services/shortcuts/shortcuts.service'
import {Hotkey} from 'angular2-hotkeys'

@Component({
    selector: 'mindmapp-shortcuts',
    templateUrl: './shortcuts.component.html',
    styleUrls: ['./shortcuts.component.scss']
})
export class ShortcutsComponent implements OnInit {

    public hotKeys: Hotkey[]

    constructor (private shortcutsService: ShortcutsService) {
    }

    public ngOnInit () {
        this.hotKeys = this.shortcutsService.getHotKeys()
    }

}

<MSG> [refactor] improve shortcuts

<DFF> @@ -9,13 +9,21 @@ import {Hotkey} from 'angular2-hotkeys'
 })
 export class ShortcutsComponent implements OnInit {
 
-    public hotKeys: Hotkey[]
+    public shortcuts: any[]
 
     constructor (private shortcutsService: ShortcutsService) {
     }
 
     public ngOnInit () {
-        this.hotKeys = this.shortcutsService.getHotKeys()
+        const hotKeys: Hotkey[] = this.shortcutsService.getHotKeys()
+        this.shortcuts = hotKeys.map((hotKey: Hotkey) => {
+            const keys = hotKey.combo[0]
+
+            return {
+                keys: keys === '+' ? [keys] : keys.split('+'),
+                description: hotKey.description
+            }
+        })
     }
 
 }

[refactor] improve shortcuts