1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:10:06 +08:00
SpaceVim/docs/layers/zettelkasten.md

1.8 KiB

title description
SpaceVim zettelkasten layer This layers adds extensive support for zettelkasten

Available Layers >> zettelkasten

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:

# 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 bindings description
SPC m z n create new note
SPC m z t create new note with template
SPC m z b open zettelkasten browse
SPC m z g filter zettelkasten tags via telescope
SPC m z f filter zettelkasten title via telescope

In the zettelkasten browse buffer:

key bindings description
F2 open zettelkasten tags sidebar
<LeftRelease> filter notes based on cursor tag
gf open the note
Ctrl-l clear tags filter pattarn
Ctrl-] / K preview note in vim preview-window
[I list references in quickfix-window