You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On desktop, when a tag is used somewhere in the vault, entering # and some text is offering existing tag values with such a text within.
This is very convenient when number of tags grows.
This feature is not present in TUI.
My proposal is to learn from standard completion shortcuts:
Ctrl-X Ctrl-N / Ctrl-X Ctrl-P — keywords from the current file (forward/backward)
Ctrl-X Ctrl-L — whole line completion
Ctrl-X Ctrl-F — file names (what you mentioned)
Ctrl-X Ctrl-K — dictionary words (from the 'dictionary' option)
Ctrl-X Ctrl-T — thesaurus entries (from 'thesaurus' / 'thesaurusfunc')
Ctrl-X Ctrl-I — keywords from the current file and any included files (via 'include'/'path')
Ctrl-X Ctrl-] — tags (from your tags file)
Ctrl-X Ctrl-D — definitions or macros (C-style, using 'define')
Ctrl-X Ctrl-V (or Ctrl-Q in terminals where Ctrl-V is taken) — Vim/Ex command-line completion
Ctrl-X Ctrl-U — user-defined completion, via 'completefunc'
Ctrl-X Ctrl-O — omni completion, via 'omnifunc' (this is what filetype/LSP plugins hook into for smart, language-aware completion)
Ctrl-X Ctrl-S (or Ctrl-X s) — spelling suggestions (needs 'spell' on)
Ctrl-X Ctrl-Z — stop completion and close the popup without changing the text
The Ctrl-X Ctrl-] sounds like perfect match by name, but not necessarily by what we consider a tag in ZenNotes.
I would propose using omni completion, thus Ctrl-X Ctrl-O.
As you type, like the desktop.# plus a letter in insert mode opens a small menu under the token with the vault's existing tags: the ones that start with what you typed, then the ones that contain it, most used first. Typing narrows it. Ctrl+N / Ctrl+P (or the arrows) move, Enter, Tab or Ctrl+Y accept, Ctrl+E dismisses, and Esc leaves insert mode and takes the menu with it, as Vim's popup menu does. A bare #, headings, code and links stay quiet, so it does not get in the way of writing a heading.
On demand, as you proposed.Ctrl+X Ctrl+O opens the same menu (Ctrl+X Ctrl+] too, since the name fits): every tag when nothing is typed yet, and a plain word before the cursor becomes the query and is replaced by #tag.
Inside a frontmatter tags: value the same menu completes bare tags, and the pick undoes together with the typing. :help and the README describe the keys.
Thanks for the detailed proposal. If anything feels off once you try it, reopen or file a new issue.
Activity
Feat(tui): complete tags while typing, like the desktop editor (#3)
adibhanna commentedon Sep 17, 2026
Done in d893aba, shipping in v0.3.0.
It works both ways:
#plus a letter in insert mode opens a small menu under the token with the vault's existing tags: the ones that start with what you typed, then the ones that contain it, most used first. Typing narrows it.Ctrl+N/Ctrl+P(or the arrows) move,Enter,TaborCtrl+Yaccept,Ctrl+Edismisses, andEscleaves insert mode and takes the menu with it, as Vim's popup menu does. A bare#, headings, code and links stay quiet, so it does not get in the way of writing a heading.Ctrl+X Ctrl+Oopens the same menu (Ctrl+X Ctrl+]too, since the name fits): every tag when nothing is typed yet, and a plain word before the cursor becomes the query and is replaced by#tag.Inside a frontmatter
tags:value the same menu completes bare tags, and the pick undoes together with the typing.:helpand the README describe the keys.Thanks for the detailed proposal. If anything feels off once you try it, reopen or file a new issue.