UI
-i
, --init-widget
$TODOTXT_TUI_INIT_WIDGET
init_widget
- Possible values (flag, env):
list
,done
,project
,context
,hashtag
,preview
- Possible values (config):
List
,Done
,Project
,Context
,Hashtag
,Preview
- Default:
List
-t
, --window-title
$TODOTXT_TUI_WINDOW_TITLE
window_title
- Default:
ToDo TUI
-W
, --window-keybinds
$TODOTXT_TUI_WINDOW_KEYBINDS
window_keybinds
Default:
I = "InsertMode"
L = "MoveRight"
q = "Quit"
K = "MoveUp"
"/" = "SearchMode"
S = "Save"
u = "Load"
H = "MoveLeft"
J = "MoveDown"
E = "EditMode"
-R
, --list-refresh-rate
$TODOTXT_TUI_LIST_REFRESH_RATE
list_refresh_rate
- Default value: 5 seconds
- The configuration can also specify nanoseconds for finer granularity.
Configuration Example:
[list_refresh_rate]
secs = 5
nanos = 0
-S
, --save-state-path
$TODOTXT_TUI_SAVE_STATE_PATH
save_state_path
-l
, --layout
$TODOTXT_TUI_LAYOUT
layout
List
: The main list of tasks.Preview
: The task preview section.Done
: The list of completed tasks.Projects
: The list of projects.Contexts
: The list of contexts.Hashtags
: The list of hashtags.
Here's an example of a custom layout configuration:
[
Direction: Horizontal,
Size: 50%,
[
List: 50%,
Preview,
],
[ Direction: Vertical,
Done,
[
Contexts,
Projects,
],
],
]
This example creates a layout with a horizontal split, where the list takes up 50% of the width, and the preview occupies the remaining space. On the right side, there's a vertical split with the list of completed tasks, contexts, and projects.