Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add the alternate search keyboard shortcuts COMMAND+L on MacOS and CT…
…RL+L on other platforms
  • Loading branch information
absidue committed Apr 8, 2022
commit 5e0fcef592e2ad473a63e8309858ef785d80ecd5
6 changes: 6 additions & 0 deletions src/renderer/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},

Expand Down