Skip to content
Ammar Abou Zor edited this page Sep 1, 2024 · 7 revisions

Keymap

All keybindings can be accessed within the app by pressing the ? key. Below are the keybindings for different sections of the application.

Global Keybindings

Key Command Description
Tab, cycle_focus_forward Move focus to the next control
Backtab, Cycle_focus_backward Move focus to the previous control
? Show_help Show keybindings overview
q Exit Exit the program
Enter, Edit_journal_content Start editing current journal entry content in built_in editor
s , Save Save changes on journal content
Reload_all Reload all entries
y, Edit_in_external_editor Edit current journal content in external editor
Toggle_full_screen_mode Maximize the currently selected view
u Undo Undo the latest change on journals
Redo Redo the latest change on journals

Journals List Keybindings

This keybindings are valid while the journals list is in focus

Key Command Description
Up, k Select_prev_journal Select previous entry
Down, j Select_next_journal Select next entry
n Create_new_journal Open dialog to add a new journal entry
e Edit_new_journal Open entry dialog to edit the current journal entry
d, delete Delete_journal Delete current journal entry if any
f Open_filter Open filter popup for journals
a, Fuzzy_find Open fuzzy find popup for journals
x Reset_filter Reset the applied filter on journals
v Enter_multi_select Enter multi select mode for journals when journals list is in focus
> Export_journal_content Export current journal content
v Toggle_editor_visual_mode Toggle Editor Visual(Select) Mode when editor is in focus
o Open_sort_options Open sort popup to set the sorting options of the journals
Home Go_to_top Go to the top entry in the journals' list
End Go_to_bottom Go to the bottom entry in the journals' list
Page-Up Page_up_journals Go one page up in the journals' list
Page-Down Page_down_journals Go one page down in the journals' list

Editor Keybindings

The Editor in the TUI-Journal app has two modes:

  • Normal Mode: Use VIM keybindings to navigate the text and enter Edit Mode (i, I, a, A, o, O) besides the global keybindings.
  • Edit Mode: Utilize Emacs keybindings to edit and navigate the text.
  • Visual-Mode: Like the visual mode in VIM to select, delete and yank text with extra vim keybindings (d, y, c)
Key Command Description
Copy_to_OS_clipboard Copy selection to operation system clipboard while in editor visual mode
Cut_to_OS_clipboard Cut selection to operation system clipboard while in editor visual mode
Paste_OS_clipboard_Content Paste the operation system clipboard content to in the editor

Multi-Select Mode Keybindings

Key Command Description
Esc, q, v, Leave_multi_select Leave multi selection mode for journals and return to normal mode
Space, Entrer, Toggle_selected Toggle select for the current journal
a Select_all_journals Select all journals
x Clear_selection Clear journals selection
i Invert_selection Invert journals selection
Delete, d Delete_selection Delete selected journals
> Export_selection Export selected journals to a transfer JSON file
Clone this wiki locally