diff --git a/src/components/popover/tab/keymap/keymap-tab.component.html b/src/components/popover/tab/keymap/keymap-tab.component.html
index 8dd1adc7..1846dd08 100644
--- a/src/components/popover/tab/keymap/keymap-tab.component.html
+++ b/src/components/popover/tab/keymap/keymap-tab.component.html
@@ -1,17 +1,22 @@
-
-
-

+
+ No keymaps are available to choose from. Create a keymap first!
+
+
0">
+
+ Switch to keymap:
+
-
-
-
\ No newline at end of file
+
+
+

+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/popover/tab/keymap/keymap-tab.component.scss b/src/components/popover/tab/keymap/keymap-tab.component.scss
index b1efee02..bb37e4e0 100644
--- a/src/components/popover/tab/keymap/keymap-tab.component.scss
+++ b/src/components/popover/tab/keymap/keymap-tab.component.scss
@@ -2,6 +2,10 @@
display: flex;
flex-direction: column;
+ > span {
+ text-align: center;
+ }
+
> div {
display: flex;
margin-top: 2px;
diff --git a/src/components/popover/tab/keymap/keymap-tab.component.ts b/src/components/popover/tab/keymap/keymap-tab.component.ts
index a0ad45be..f3e5495f 100644
--- a/src/components/popover/tab/keymap/keymap-tab.component.ts
+++ b/src/components/popover/tab/keymap/keymap-tab.component.ts
@@ -31,15 +31,9 @@ export class KeymapTabComponent implements OnInit, Tab {
text: keymap.name
};
});
-
- this.keymapOptions = [
- {
- id: '-1',
- text: 'Switch to keymap'
- },
- ...this.keymapOptions
- ];
-
+ if (this.keymaps.length > 0) {
+ this.selectedKeymap = this.keymaps[0];
+ }
this.fromKeyAction(this.defaultKeyAction);
}