Feature/275 open in background (#285)

* quodana base config

* Using constants instead of magic strings

* #275 - Added "alt o" to open a note without closing the omnisearch modal
This commit is contained in:
Simon Cambier
2023-09-09 10:54:14 +02:00
committed by GitHub
parent 4f301bc607
commit cf09ce5a28
5 changed files with 92 additions and 27 deletions

View File

@@ -35,11 +35,11 @@
onMount(() => {
eventBus.enable('infile')
eventBus.on('infile', 'enter', openSelection)
eventBus.on('infile', 'open-in-new-pane', openSelectionInNewTab)
eventBus.on('infile', 'arrow-up', () => moveIndex(-1))
eventBus.on('infile', 'arrow-down', () => moveIndex(1))
eventBus.on('infile', 'tab', switchToVaultModal)
eventBus.on('infile', Action.Enter, openSelection)
eventBus.on('infile', Action.OpenInNewPane, openSelectionInNewTab)
eventBus.on('infile', Action.ArrowUp, () => moveIndex(-1))
eventBus.on('infile', Action.ArrowDown, () => moveIndex(1))
eventBus.on('infile', Action.Tab, switchToVaultModal)
})
onDestroy(() => {