⋅𝕭𝖆𝖘𝖆𝖑𝖙⋅
CONFIGURATION

Key mappings

Key mappings can be modified or extended by defining them in the configuration file.

Each key mapping is associated with a specific pane and becomes active when that pane has focus. The global section applies to all panes and is evaluated first.

[global]
key_bindings = [
  { key = "q", command = "quit" },
  { key = "?", command = "help_modal_toggle" },
]

[explorer]
key_bindings = [
  { key = "k", command = "explorer_up" },
  { key = "j", command = "explorer_down" },
]

Key sequence syntax

A key can be a single character, a named key, a modified key, or a sequence of keystrokes. Sequences are written as a multi-character string and only fire when all keys are pressed in order with nothing in between. This makes it possible to define vim- or Helix-style bindings like gg.

[note_editor]
key_bindings = [
  { key = "gg", command = "note_editor_scroll_to_top" },
  { key = "G",  command = "note_editor_scroll_to_bottom" },
]

An uppercase letter like G is shorthand for shift+g — shift is implied automatically.

Available commands

Global commands

CommandDescription
quitExit the application
vault_selector_modal_toggleToggle vault selector modal
help_modal_toggleToggle help modal

Splash commands

CommandDescription
splash_upMove selector up
splash_downMove selector down
splash_openOpen the selected vault

Explorer commands

CommandDescription
explorer_upMove selector up
explorer_downMove selector down
explorer_openOpen selected note in note editor
explorer_sortToggle sort between A-z and Z-a
explorer_toggleToggle explorer pane
explorer_toggle_outlineToggle outline pane
explorer_toggle_input_renameOpen rename dialog for selected item
explorer_hide_paneHide pane (stepped)
explorer_expand_paneExpand pane (stepped)
explorer_switch_pane_nextSwitch focus to next pane
explorer_switch_pane_previousSwitch focus to previous pane
explorer_scroll_up_oneScroll selector up by one
explorer_scroll_down_oneScroll selector down by one
explorer_scroll_up_half_pageScroll selector up half a page
explorer_scroll_down_half_pageScroll selector down half a page
explorer_scroll_to_topJump to the first item
explorer_scroll_to_bottomJump to the last item

Outline commands

CommandDescription
outline_upMove selector up
outline_downMove selector down
outline_toggleToggle outline pane
outline_toggle_explorerToggle explorer pane
outline_switch_pane_nextSwitch focus to next pane
outline_switch_pane_previousSwitch focus to previous pane
outline_expandExpand or collapse heading
outline_selectJump to heading in editor

Note editor commands

CommandDescription
note_editor_cursor_upMove cursor up
note_editor_cursor_downMove cursor down
note_editor_scroll_up_oneScroll up by one
note_editor_scroll_down_oneScroll down by one
note_editor_scroll_up_half_pageScroll up half page
note_editor_scroll_down_half_pageScroll down half page
note_editor_scroll_to_topJump to the top of the note
note_editor_scroll_to_bottomJump to the bottom of the note
note_editor_toggle_explorerToggle explorer pane
note_editor_toggle_outlineToggle outline pane
note_editor_switch_pane_nextSwitch focus to next pane
note_editor_switch_pane_previousSwitch focus to previous pane

Experimental editor commands

CommandDescription
note_editor_experimental_set_edit_viewSwitch to edit view
note_editor_experimental_toggle_viewToggle between edit and read
note_editor_experimental_set_read_viewSwitch to read view
note_editor_experimental_saveSave note changes
note_editor_experimental_exitCancel editing, switch to read
note_editor_experimental_cursor_leftMove cursor left
note_editor_experimental_cursor_rightMove cursor right
note_editor_experimental_cursor_word_forwardMove cursor forward by word
note_editor_experimental_cursor_word_backwardMove cursor backward by word
note_editor_insert_modeEnter insert mode (vim mode)

Input modal commands

CommandDescription
input_modal_edit_modeEnter edit mode for typing
input_modal_acceptAccept changes and close modal
input_modal_cancelCancel and close modal
input_modal_leftMove cursor left
input_modal_rightMove cursor right
input_modal_word_forwardMove cursor forward by word
input_modal_word_backwardMove cursor backward by word

Help modal commands

CommandDescription
help_modal_toggleToggle help modal
help_modal_closeClose help modal
help_modal_scroll_up_oneScroll up by one
help_modal_scroll_down_oneScroll down by one
help_modal_scroll_up_half_pageScroll up half page
help_modal_scroll_down_half_pageScroll down half page

Vault selector modal commands

CommandDescription
vault_selector_modal_upMove selector up
vault_selector_modal_downMove selector down
vault_selector_modal_closeClose vault selector modal
vault_selector_modal_openOpen selected vault
vault_selector_modal_toggleToggle vault selector modal