From 5e0fcef592e2ad473a63e8309858ef785d80ecd5 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Fri, 8 Apr 2022 16:34:33 +0200 Subject: [PATCH] Add the alternate search keyboard shortcuts COMMAND+L on MacOS and CTRL+L on other platforms --- src/renderer/App.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/renderer/App.js b/src/renderer/App.js index c1f92be33adde..0685b19eeea14 100644 --- a/src/renderer/App.js +++ b/src/renderer/App.js @@ -312,6 +312,12 @@ export default Vue.extend({ case 'Tab': this.hideOutlines = false break + case 'KeyL': + if ((process.platform !== 'darwin' && event.ctrlKey) || + (process.platform === 'darwin' && event.metaKey)) { + this.$refs.topNav.focusSearch() + } + break } },