qownnotes-tui is a keyboard-first terminal browser and editor for local,
QOwnNotes-compatible Markdown note folders.
See CHANGELOG.md for notable changes.
Prebuilt binaries for Linux, Windows, and macOS are attached to every release on the GitHub releases page.
Enter the development environment and open a note folder:
devenv shell
just run --notes-dir ~/NotesAlternatively, build and run the Nix package directly:
nix run . -- --notes-dir ~/NotesThe note root can also be set with QOWNNOTES_TUI_NOTES_DIR or with
notes_dir = "/path/to/notes" in the platform configuration file. CLI options
take precedence over the environment and configuration file. If none is set,
the application reads all available configured note folders from QOwnNotes and
initially opens its current folder. The QOwnNotes application database is
opened read-only.
The Nix package installs completions for Bash, Fish, and Zsh automatically. Completion scripts can also be generated manually:
qownnotes-tui --generate-completion bashSupported values are bash, elvish, fish, powershell, and zsh. The
command writes the completion script to standard output.
| Key | Action |
|---|---|
j, k |
Move selection or scroll the viewer |
PageUp, PageDown |
Scroll the viewer by one page |
Home, End |
Jump to the start or end of the note |
h, l, Tab |
Switch panes |
Left, Right |
Collapse or expand the selected note subfolder |
Enter |
Activate a note folder/subfolder or open a note |
Ctrl-Space |
Open the link or toggle the checkbox at the cursor |
n, Ctrl-n |
Create a timestamped note |
d |
Delete a note after confirmation |
e |
Edit the selected note |
E, Ctrl-e |
Open the current note in an external editor |
/, Ctrl-f |
Search notes or find text in the viewer |
Ctrl-f |
Find text while editing |
F3, Shift-F3 |
Select the next or previous in-note match |
Ctrl-s |
Save the note |
Esc |
Leave editor or return to the note list |
Ctrl-r |
Discard edits and reload from disk |
Ctrl-Shift-V |
Paste a URL as a Markdown link with its page title |
Ctrl-z |
Undo the last edit while editing |
Ctrl-Shift-Z, Ctrl-y |
Redo the last undone edit while editing |
Tab, Shift-Tab |
Indent/un-indent list items or selected editor lines |
PageUp, PageDown |
Move by one page while editing |
Ctrl-Home, Ctrl-End |
Move to note start or end while editing |
Ctrl-Left, Ctrl-Right |
Move by word in the viewer or editor |
Ctrl-Backspace |
Delete the previous word while editing |
Alt-Backspace |
Delete the whole current line while editing |
s |
Open settings |
R |
Rescan the active note folder |
? |
Show help |
q, Ctrl-c |
Quit |
Press E in the note list or viewer, or Ctrl-e (also while editing), to open
the current note in $VISUAL, then $EDITOR, falling back to vi when neither
is set. Editor commands can include arguments and quoted paths, for example
EDITOR='emacs -nw' or VISUAL='code --wait'. Commands are executed directly
without shell expansion. The app saves local edits before launching, waits for
the editor to exit, then restores the terminal and reloads the note. Save errors
or conflicting external edits prevent launching the editor.
While editing, Ctrl-Shift-V fetches the title of an HTTP(S) URL in the clipboard
and inserts [title](url), replacing selected text. Fetches follow redirects and
time out after five seconds; if no title is available, the URL becomes the link
title. Non-URL clipboard text is pasted normally. This also works when your
terminal handles Ctrl-Shift-V as its own paste shortcut: single-URL terminal
pastes are converted to Markdown links, including pastes from the terminal's
menu. Use application-handled Ctrl-v to paste a URL as plain text.
Search terms are case-insensitive and all terms must match; use quotes to search
for a phrase. Press Enter to keep the filtered list or Esc to clear it. The
same search term is highlighted when opening a matching note. In the viewer,
/ or Ctrl-f finds text without changing the note filter; in the editor, use
Ctrl-f so / can be typed. Use F3 and Shift-F3 to move between matches. The folder pane contains each configured
note folder, an All notes item, the note
folder root (/), and its expandable note subfolders. Selecting a subfolder
shows notes directly in that folder; selecting All notes shows the complete
tree. Folder disclosure arrows can also be clicked to expand or collapse them.
New notes are created in the selected subfolder, or in the note folder
root when All notes is selected. For note folders discovered from QOwnNotes,
the subfolder tree is enabled only when Use note subfolders is enabled for
that folder in QOwnNotes. Subfolders matching QOwnNotes' semicolon-separated
ignoreNoteSubFolders regular expressions are not scanned or displayed.
Explicit --notes-dir folders enable subfolder support and use the configured
QOwnNotes ignore patterns, or QOwnNotes' ^\. default when unavailable. The
viewer soft-wraps and syntax-highlights Markdown. Notes automatically save
at the interval configured in Settings > General (10 seconds by default). New
notes start with a # Note YYYY-MM-DD HHhMMsSS heading. On save, note filenames
automatically follow the first meaningful content line; conflicting filenames
receive a numeric suffix. Clean notes reload when their files change outside
the app. Note folders and notes can also be activated with the left mouse button,
and the mouse wheel scrolls lists or the viewer. The note list follows QOwnNotes'
configured alphabetical or last-change sorting. The application detects
conflicting external edits before writing a modified note.
Deleting a note asks for confirmation and moves it to the platform trash when available. If trashing is unavailable, the confirmed deletion permanently removes the file.
Colors can be overridden in theme.toml beside the application config.toml.
Values may be terminal color names such as cyan or six-digit RGB colors:
background = "#1e1e2e"
foreground = "#cdd6f4"
accent = "#cba6f7"
accent_foreground = "#1e1e2e"Available keys are background, foreground, muted, accent,
accent_foreground, success, warning, error, heading, quote, code,
link, fence, and field_background. Unspecified keys retain their defaults.
The default theme uses the terminal's ANSI palette and reset background, so it
automatically follows terminal themes configured by Catppuccin or similar tools.
An explicit theme.toml is only needed to override those terminal colors.
The flake exports a Home Manager module for creating the file declaratively:
{
imports = [ inputs.qownnotes-tui.homeModules.default ];
programs.qownnotes-tui = {
enable = true;
theme = {
background = "#1e1e2e";
foreground = "#cdd6f4";
accent = "#cba6f7";
accent_foreground = "#1e1e2e";
};
};
}The color values can also be assigned from palette attributes provided by another Nix module.
Run devenv shell to enter the development environment, then run just to list
recipes. The main validation command is just check; use just nix-build for
the reproducible package and just flake-check to validate all flake outputs.
Rust 1.89 is the minimum supported version. The crate uses Rust edition 2024.
Copyright (C) 2026 qownnotes-tui contributors. Licensed under GPL-3.0-only. See
LICENSE.
