CTRL+UP
andCTRL+DOWN
to cycle through windows (not including index)CTRL+g
(home) to hide/show index window (alasCTRL+h
is backspace)CTRL+n
(new) to create and edit new zettelCTRL+q
(quit) to quit, saving state
- Navigate with
UP
/DOWN
arrow keys o
(open) orENTER
to open zettel for viewinge
(edit) to open zettel for editingr
(refresh) to refresh list (after adding or editing zettel)p
(preview) to toggle preview pane/
(vim-style) to start a search, then type search query, thenENTER
to interact with search results orESC
to cancel search
- Scroll with
UP
/DOWN
arrow keys - Select links with
LEFT
/RIGHT
arrow keys e
(edit) to change to editingr
(refresh) to refresh (e.g. in case of new backlinks)ENTER
to open selected link for viewing in new windowg
(go) to open selected link in same window (closing previous zettel)b
(back) to return to previous zettel afterg
CTRL+w
(browser/tab-style) to close
- Type to insert text
CTRL+s
(save) to saveCTRL+w
(browser/tab-style) to closeCTRL+x
(cut) to cut current line to clipboardCTRL+v
(paste) to paste last cut below current line (and repeat to paste previous cuts)CTRL+o
(open) to change to viewingCTRL+f
(find) to start a search, thenUP
/DOWN
to interact with results,ENTER
to insert selected link,ESC
to cancel (begin search with/
to only search titles, '#' to only search IDs)
- Put repo somewhere on y'r machine
- Rename
config_template.py
toconfig.py
and edit to directpath
towards repo - Create
kasten
directory top level in repo (as specified inconfig.py
) - Rename
Keys_template.py
toKeys.py
and edit if your compty has different key codes - Run
zk.py
and enjoy
This application allows you to write arbitrary python code in notes, which will be exec
'd (see CODE:
below). This is great for writing dynamic notes in y'r fancy electronic notebook, but obviously unsuitable for any application that requires security.
- Windows can be resized using
CTRL+SHIFT+UP
(expand vertically),CTRL+SHIFT+DOWN
(shrink vertically),CTRL+SHIFT+RIGHT
, andCTRL+SHIFT+LEFT
(expand and shrink horizontally) - In index window, use
:
(vim-style) to start a command, then type command, thenENTER
to execute orESC
to cancel. Recognized commands:protograph
to visualize zettel network using amackcrane/protographcount
to count the current list of zettel in indexsort
to sort current list by ID
- In index window, use
//
to only search titles rather than full text,/#
to search IDs - In Editor, use
CTRL+a
(emacs-style) to jump to beginning of line,CTRL+e
(emacs-style) to jump to end - Viewer will recognize strings like
https://blah
orhttp://blah
as hyperlinks and make them active---pressingENTER
will open in firefox - Viewer will recognize strings like
~/foo/bar.baz
as filepaths and make them active---.jpg and .pdf extensions will be opened with qpdfview (other extensions/filetypes not yet supported, also only paths starting with~/
) - A line starting with a shebang
#!
marks the rest of the note as python code---a viewer window will attempt to execute the code and show the output. - Set
kasten_sync
inconfig.py
to an rclone remote to enable syncing between device viarclone bisync
(and initialize bisync with a--resync
run on the relevant directories)