[note_editor]
key_bindings = [
{ key = "k", command = "note_editor_cursor_up" },
{ key = "j", command = "note_editor_cursor_down" },
{ key = "up", command = "note_editor_cursor_up" },
{ key = "down", command = "note_editor_cursor_down" },
{ key = "tab", command = "note_editor_switch_pane_next" },
{ key = "shift+backtab", command = "note_editor_switch_pane_previous" },
{ key = "ctrl+b", command = "note_editor_toggle_explorer" },
{ key = "ctrl+u", command = "note_editor_scroll_up_half_page" },
{ key = "ctrl+d", command = "note_editor_scroll_down_half_page" },
{ key = "ctrl+o", command = "note_editor_toggle_outline" },
{ key = "gg", command = "note_editor_cursor_doc_start" },
{ key = "G", command = "note_editor_cursor_doc_end" },
{ key = "i", command = "note_editor_insert_mode" },
{ key = "a", command = "note_editor_append" },
{ key = "r", command = "note_editor_replace_char" },
{ key = "v", command = "note_editor_visual_mode" },
{ key = "V", command = "note_editor_visual_line_mode" },
{ key = "y", command = "note_editor_yank" },
{ key = "esc", command = "note_editor_experimental_exit" },
{ key = "ctrl+e", command = "note_editor_experimental_toggle_view" },
{ key = "shift+r", command = "note_editor_experimental_set_read_view" },
{ key = "ctrl+x", command = "note_editor_experimental_save" },
{ key = "h", command = "note_editor_experimental_cursor_left" },
{ key = "l", command = "note_editor_experimental_cursor_right" },
{ key = "left", command = "note_editor_experimental_cursor_left" },
{ key = "right", command = "note_editor_experimental_cursor_right" },
{ key = "w", command = "note_editor_experimental_cursor_word_forward" },
{ key = "b", command = "note_editor_experimental_cursor_word_backward" },
{ key = "e", command = "note_editor_cursor_word_end" },
{ key = "W", command = "note_editor_cursor_word_forward_big" },
{ key = "B", command = "note_editor_cursor_word_backward_big" },
{ key = "E", command = "note_editor_cursor_word_end_big" },
{ key = "0", command = "note_editor_cursor_line_start" },
{ key = "^", command = "note_editor_cursor_first_non_blank" },
{ key = "$", command = "note_editor_cursor_line_end" },
{ key = "{", command = "note_editor_paragraph_backward" },
{ key = "}", command = "note_editor_paragraph_forward" },
{ key = "%", command = "note_editor_matching_pair" },
{ key = "f", command = "note_editor_find_forward" },
{ key = "F", command = "note_editor_find_backward" },
{ key = "t", command = "note_editor_till_forward" },
{ key = "T", command = "note_editor_till_backward" },
{ key = ";", command = "note_editor_repeat_find" },
{ key = ",", command = "note_editor_repeat_find_reverse" },
{ key = "d", command = "note_editor_delete" },
{ key = "c", command = "note_editor_change" },
{ key = "x", command = "note_editor_delete_under_cursor" },
{ key = "D", command = "note_editor_delete_to_line_end" },
{ key = "C", command = "note_editor_change_to_line_end" },
{ key = "s", command = "note_editor_substitute_char" },
{ key = "p", command = "note_editor_paste_after" },
{ key = "P", command = "note_editor_paste_before" },
{ key = "u", command = "note_editor_undo" },
{ key = "ctrl+r", command = "note_editor_redo" },
]
[explorer]
key_bindings = [
{ key = "k", command = "explorer_up" },
{ key = "j", command = "explorer_down" },
{ key = "up", command = "explorer_up" },
{ key = "down", command = "explorer_down" },
{ key = "t", command = "explorer_toggle" },
{ key = "h", command = "explorer_hide_pane" },
{ key = "l", command = "explorer_expand_pane" },
{ key = "left", command = "explorer_hide_pane" },
{ key = "right", command = "explorer_expand_pane" },
{ key = "s", command = "explorer_sort" },
{ key = "n", command = "explorer_new_untitled_note" },
{ key = "shift+n", command = "explorer_new_untitled_folder" },
{ key = "r", command = "explorer_toggle_input_rename" },
{ key = "tab", command = "explorer_switch_pane_next" },
{ key = "shift+backtab", command = "explorer_switch_pane_previous" },
{ key = "enter", command = "explorer_open" },
{ key = "ctrl+b", command = "explorer_toggle" },
{ key = "ctrl+u", command = "explorer_scroll_up_half_page" },
{ key = "ctrl+d", command = "explorer_scroll_down_half_page" },
{ key = "ctrl+o", command = "explorer_toggle_outline" },
{ key = "gg", command = "explorer_scroll_to_top" },
{ key = "G", command = "explorer_scroll_to_bottom" },
]
[outline]
key_bindings = [
{ key = "k", command = "outline_up" },
{ key = "j", command = "outline_down" },
{ key = "up", command = "outline_up" },
{ key = "down", command = "outline_down" },
{ key = "ctrl+o", command = "outline_toggle" },
{ key = "ctrl+b", command = "outline_toggle_explorer" },
{ key = "t", command = "outline_toggle_explorer" },
{ key = "tab", command = "outline_switch_pane_next" },
{ key = "shift+backtab", command = "outline_switch_pane_previous" },
{ key = "enter", command = "outline_expand" },
{ key = "g", command = "outline_select" },
{ key = "gg", command = "explorer_scroll_to_top" },
{ key = "G", command = "explorer_scroll_to_bottom" },
]
[input_modal]
key_bindings = [
{ key = "esc", command = "input_modal_cancel" },
{ key = "enter", command = "input_modal_accept" },
{ key = "i", command = "input_modal_edit_mode" },
{ key = "h", command = "input_modal_left" },
{ key = "l", command = "input_modal_right" },
{ key = "left", command = "input_modal_left" },
{ key = "right", command = "input_modal_right" },
{ key = "w", command = "input_modal_word_forward" },
{ key = "b", command = "input_modal_word_backward" },
]