Skip to content

prncss-xyz/neo-tree-zk.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Neo-tree-zk

A neo-tree source for zk-nvim.

Installation

Via packer.nvim

use {
  "prncss-xyz/neo-tree-zk.nvim",
  requires = {
    "nvim-neo-tree/neo-tree.nvim",
    "mickael-menu/zk-nvim"
  },
}

Setup

In your neo-tree config:

  require("neo-tree").setup {
    sources = {
      -- default sources
      "filesystem",
      "buffers",
      "git_status",
      -- user sources goes here
      "zk",
    },
    -- ...
    zk = {
      follow_current_file = true,
      window = {
        mappings = {
          ["n"] = "change_query",
        },
      },
    }

Usage

From you zk directory, call :Neotree source=zk.

Then use the 'change_query' command (n) to see notes belonging to the selected query.

Releases

No releases published

Packages

No packages published

Languages