docs / keys-and-commands

Keys and commands.

Every key and every command in Paperkites. :keys shows the full map from anywhere in the app.

Paperkites has three modes: INSERT (typing), NORMAL (moving) and COMMAND (: and /). Inside a note, press esc to reach NORMAL before : or /, or they type into the note.

Anywhere

KeyDoes
⌘Ksummon: notes, fragments, tags, commands
⌘\the sidebar
:command line (Tab completes)
/search the text of every note
⌃o / ⌃iback / forward
⌃h / ⌃lback / forward, outside typing (there ⌃h is backspace)
ghhome
gpoutside a note: the people list in summon

Capture box

KeyDoes
⏎newline; never saves
⌘↩save as a fragment
⌘Eopen as a note
escto the list; the draft stays

Lists

KeyDoes
j / kmove
gg / Gthe ends
[d / ]dprevious / next day
⏎open
xpin or unpin
ithe capture box

In a note

KeyDoes
gdfollow the link, tag or person under the caret
Kpeek at it
gtopen the tag under the caret
gpopen the person under the caret
grthe graph
⌘B · ⌘I · ⌘Kwith text selected: bold · italic · link
# · [[ · @a tag · a link · a person, each with completion
@date · @date:tom · @date:yestoday · tomorrow · yesterday, as a date

The rest is vim.

Todos

KeyDoes
⌘↩open ↔ done
⌘⇧↩pick a state

@ completion

KeyDoes
⏎insert the mention
⇥insert the name and the mention
⌃na new person

Summon (⌘K)

KeyDoes
↑ ↓ / ⌃n ⌃pmove
⏎open
# firsttags only
@ firstpeople only
⌃rrename the tag or username everywhere

Search results

KeyDoes
n / Nnext / previous match
⏎open at the match
KeyDoes
j / kmove
l / hopen / close a tag
⏎open the row
escback to the page
⌘\hide it

Split

KeyDoes
⌃w vsplit
⌃w wswitch
⌃w qclose
⌃w oonly this one

Graph

KeyDoes
h j k lpan
+ / -zoom
0fit
n / Nstep through notes, most linked first
⏎open
thide or show tags

Settings

KeyDoes
j / kpick a row
h / l (or ← →)change it
0reset it
⏎run a row's button
escshow these keys; again to go back

A locked note's password

KeyDoes
⏎unlock (or lock, or change the password)
escleave it locked; from :lock or :passwd, back to the note
Tabthe next field, then show, which shows the password

Commands

Type :, then the command, and press ⏎. Tab completes.

CommandDoes
:homethe capture box and the list
:new [title]a new note
:dailytoday's note (YYYY-MM-DD), made if missing
:tag <name>a tag's page
:notes [--asc|--desc]every note, newest first or by title
:keysthe full keymap, built in, whatever is in your vault
:settingsappearance, themes, reading, writing, vault
:vim on / :vim offvim keys, the same setting as in :settings
:theme light|dark|systemthe appearance
:theme reloadread the theme files again
:theme ground <pattern>try a dot pattern: plain, dotted or dotted-edges
:vault [folder]show the vault, or switch to another folder
:undoundo the last tag or username rename
:deletemove the note you're in to the trash
:trashtrashed notes; ⏎ puts one back where it lived
:trash emptydelete everything in the trash for good
:pin · :unpinpin a note to the top of the lists, or unpin it
:pinnedpinned notes and fragments
:formattidy this note's markdown: tables, lists, blank lines; never the words
:reload · :wafter an edit elsewhere: take the file's version · write yours over it
:locklock this note with a password of its own; on an open locked note, lock it now (see Locked notes)
:unlockput the caret in a locked note's password field
:lockalllock every open locked note
:passwda new password for an open locked note
:unlocknotetake an open note's lock off: plain files again
:infoa note's words, reading time, file and links
:orphansnotes with no links in or out
:graphthe note graph
:vsplit · :q · :onlysplit · close this column · keep only this one

Aliases: :set (settings), :vs and :sp (vsplit), :close (q), :on (only), :rm (delete).