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

@@ -32,6 +32,19 @@ export const enum IndexingStepType {
WritingCache,
}
export const enum Action {
Enter = 'enter',
OpenInBackground = 'open-in-background',
CreateNote = 'create-note',
OpenInNewPane = 'open-in-new-pane',
InsertLink = 'insert-link',
Tab = 'tab',
ArrowUp = 'arrow-up',
ArrowDown = 'arrow-down',
PrevSearchHistory = 'prev-search-history',
NextSearchHistory = 'next-search-history',
}
export type DocumentRef = { path: string; mtime: number }
export type IndexedDocument = {