#454 - Fixed inconsistencies in binding labels
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
let openInCurrentPaneKey: string = $state('')
|
let openInCurrentPaneKey: string = $state('')
|
||||||
let createInNewPaneKey: string = $state('')
|
let createInNewPaneKey: string = $state('')
|
||||||
let createInCurrentPaneKey: string = $state('')
|
let createInCurrentPaneKey: string = $state('')
|
||||||
let openInNewLeafKey: string = getCtrlKeyLabel() + getAltKeyLabel() + ' ↵'
|
let openInNewLeafKey: string = `${getCtrlKeyLabel()} ${getAltKeyLabel()} ↵`
|
||||||
|
|
||||||
const selectedNote = $derived(resultNotes[selectedIndex])
|
const selectedNote = $derived(resultNotes[selectedIndex])
|
||||||
|
|
||||||
@@ -419,7 +419,7 @@
|
|||||||
<span>to insert a link</span>
|
<span>to insert a link</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="prompt-instruction">
|
<div class="prompt-instruction">
|
||||||
<span class="prompt-instruction-command">Ctrl g</span>
|
<span class="prompt-instruction-command">{getCtrlKeyLabel()} g</span>
|
||||||
<span>to toggle excerpts</span>
|
<span>to toggle excerpts</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="prompt-instruction">
|
<div class="prompt-instruction">
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ abstract class OmnisearchModal extends Modal {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Open in background
|
// Open in background
|
||||||
this.scope.register(['Ctrl'], 'O', e => {
|
this.scope.register(['Mod'], 'O', e => {
|
||||||
if (!isInputComposition()) {
|
if (!isInputComposition()) {
|
||||||
// Check if the user is still typing
|
// Check if the user is still typing
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
@@ -144,7 +144,7 @@ abstract class OmnisearchModal extends Modal {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Context
|
// Context
|
||||||
this.scope.register(['Ctrl'], 'G', _e => {
|
this.scope.register(['Mod'], 'G', _e => {
|
||||||
eventBus.emit(EventNames.ToggleExcerpts)
|
eventBus.emit(EventNames.ToggleExcerpts)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user