diff --git a/src/renderer/App.js b/src/renderer/App.js index fe4a7da6..c1f92be3 100644 --- a/src/renderer/App.js +++ b/src/renderer/App.js @@ -303,6 +303,9 @@ export default Vue.extend({ case 'ArrowLeft': this.$refs.topNav.historyBack() break + case 'KeyD': + this.$refs.topNav.focusSearch() + break } } switch (event.code) { diff --git a/src/renderer/components/ft-input/ft-input.vue b/src/renderer/components/ft-input/ft-input.vue index 7803ddde..1bf38327 100644 --- a/src/renderer/components/ft-input/ft-input.vue +++ b/src/renderer/components/ft-input/ft-input.vue @@ -37,6 +37,7 @@ />