Back to Spacevim

SpaceVim zettelkasten layer

docs/layers/zettelkasten.md

2.4.01.7 KB
Original Source

Available Layers >> zettelkasten

<!-- vim-markdown-toc GFM --> <!-- vim-markdown-toc -->

Description

This layer adds support for zettelkasten in neovim.

Install

This layer also requires telescope layer, so to use this configuration layer, update your custom configuration file with:

toml
# load the zettelkasten layer
[[layers]]
  name = "zettelkasten"
# load the fuzzy finder layer: telescope
[[layers]]
  name = "telescope"

Layer options

  • zettel_dir: set the zettelkasten directory, default is ~/.zettelkasten/
  • zettel_template_dir: set the zettelkasten template directory, default is ~/.zettelkasten_template

Key bindings

Key bindingsdescription
SPC m z ncreate new note
SPC m z tcreate new note with template
SPC m z bopen zettelkasten browse
SPC m z gfilter zettelkasten tags via telescope
SPC m z ffilter zettelkasten title via telescope

In the zettelkasten browse buffer:

key bindingsdescription
F2open zettelkasten tags sidebar
<LeftRelease>filter notes based on cursor tag
gfopen the note
Ctrl-lclear tags filter pattarn
Ctrl-] / Kpreview note in vim preview-window
[Ilist references in quickfix-window