Search saved blocks
What is txtshell?
A fast, local-first text editor. Everything stays on your device — no accounts, no cloud, no tracking. Just type and save.
How it works
Type anything in the editor. Press ⌘/Ctrl + ⏎ to save it as a block. That's the core loop — write, save, find later.
Finding your blocks
⌘/Ctrl + K opens search. Type to filter, use #tags and @mentions to organise. Or type a word followed by // in the editor to search inline without leaving your writing.
Useful commands
/re reopens your latest block for editing
/y shows yesterday's blocks
/w shows last week
/pin shows pinned blocks
/q opens the full shortcut reference
Optional features
/encrypt encrypts your blocks locally with a passphrase
/export downloads your blocks as JSON
/import restores from an export file
Quick Retrieval
term // -> show matching blocks under the editor
#tag // -> show blocks with that tag under the editor
@name // -> show blocks with that mention under the editor
Commands
/re -> reopen your most recent saved block in the editor
/y -> show blocks saved yesterday
/w -> show blocks saved during the last week
/pin -> show only pinned blocks
☆/★ on a block -> toggle pin
/import -> import blocks from a JSON export file
/q -> open this help sheet
Encryption
/encrypt -> encrypt your blocks with a passphrase
/encrypt change -> change your passphrase
/encrypt off -> remove encryption and restore plaintext
/lock -> lock the vault (clears decrypted data from memory)
Save your recovery key when shown -> it is the only way back if you forget your passphrase
Editor
⌘/Ctrl + ⏎ -> save the current block
⌘/Ctrl + Shift + ⏎ -> reopen your most recent block
Esc -> cancel editing and clear the editor
Tab / Shift + Tab -> indent / outdent
Search
⌘/Ctrl + K -> open search
⌘/Ctrl + Shift + H -> open this reference sheet
↑/↓ -> move through results
Enter -> expand or collapse the selected result
⌘/Ctrl + ⌫ -> delete the selected block
Esc -> close search
Toolbar
⌨ button -> cycle counter: words / chars / lines / off
↓ button -> export blocks (click = JSON, shift+click = TXT)