diff --git a/.obsidian.vimrc b/.obsidian.vimrc index e51d44f..7f40f7b 100644 --- a/.obsidian.vimrc +++ b/.obsidian.vimrc @@ -16,3 +16,9 @@ nmap gd :followlink exmap tabnew obcommand workspace:new-tab nmap gn :tabnew + +exmap back obcommand app:go-back +nmap :back + +exmap forward obcommand app:go-forward +nmap :forward \ No newline at end of file diff --git a/hotkeys.json b/hotkeys.json index cfa875a..c3e02b9 100644 --- a/hotkeys.json +++ b/hotkeys.json @@ -178,106 +178,14 @@ "key": "B" } ], - "workspace:goto-tab-1": [ - { - "modifiers": [ - "Mod" - ], - "key": "1" - } - ], - "workspace:goto-tab-2": [ - { - "modifiers": [ - "Ctrl" - ], - "key": "2" - } - ], - "workspace:goto-tab-3": [ - { - "modifiers": [ - "Mod" - ], - "key": "3" - }, - { - "modifiers": [ - "Ctrl" - ], - "key": "3" - } - ], - "workspace:goto-tab-4": [ - { - "modifiers": [ - "Mod" - ], - "key": "4" - }, - { - "modifiers": [ - "Ctrl" - ], - "key": "4" - } - ], - "workspace:goto-tab-5": [ - { - "modifiers": [ - "Mod" - ], - "key": "5" - }, - { - "modifiers": [ - "Ctrl" - ], - "key": "5" - } - ], - "workspace:goto-tab-6": [ - { - "modifiers": [ - "Mod" - ], - "key": "6" - }, - { - "modifiers": [ - "Ctrl" - ], - "key": "6" - } - ], - "workspace:goto-tab-7": [ - { - "modifiers": [ - "Mod" - ], - "key": "7" - }, - { - "modifiers": [ - "Ctrl" - ], - "key": "7" - } - ], - "workspace:goto-tab-8": [ - { - "modifiers": [ - "Mod" - ], - "key": "8" - }, - { - "modifiers": [ - "Ctrl" - ], - "key": "8" - } - ], + "workspace:goto-tab-1": [], + "workspace:goto-tab-2": [], + "workspace:goto-tab-3": [], + "workspace:goto-tab-4": [], + "workspace:goto-tab-5": [], + "workspace:goto-tab-6": [], + "workspace:goto-tab-7": [], + "workspace:goto-tab-8": [], "app:open-another-vault": [ { "modifiers": [ @@ -363,5 +271,22 @@ "key": "2" } ], - "workspace:new-tab": [] + "workspace:new-tab": [], + "switcher:open": [ + { + "modifiers": [ + "Mod" + ], + "key": "P" + } + ], + "command-palette:open": [ + { + "modifiers": [ + "Mod", + "Shift" + ], + "key": "P" + } + ] } \ No newline at end of file