Single key hotkeys (context sensitive)

e.g. allow keys F1 … F12 alone without modifiers (Ctrl,Shift,…) to be used as shortcuts.

use cases:

  • toggle search text box by first press of “F3”, consecutive pressing jumps to next occurrence. (reformulated to separate feature request: When search box is hidden then pressing F3 should display it like in Google Chrome)

  • toggle edit mode by pressing “F2”.

  • keyboard-only navigation when in edit mode: when pressing Enter with caret inside link [[here]] or [](here), navigate to target of the link. As keyboard-only alternative to Ctrl+click and more ergonomic than Alt+Enter.

  • using standard letter keys for navigation in preview mode when there is no risk of writing anything: Preview Mode "Keyboard Only" Navigation

Current possible workarounds:

  • (1) Obsidian-only is described in: Unable to set a hotkey to F1 (post #3)
  • (2) AutoHotkey or Keyboard Maestro allows to simulate complex hotkey triggered by simple keypress. Context sensitivity is still missing. For example I am not able to distinguish edit/preview mode of active pane.
  • (3) Perhaps Third party plugins might be able to intercept keyboard input. I do not have sufficient knowledge to determine this.

keywords: ergonomy, hotkey, keyboard, shortcut, speed


+1 for this

1 Like