Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.56 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.56 KB

neorg-se

Warning

This is a work in progress. Please pin your version and treat updating like installing a new plugin until this warning is gone. Thanks!

Search text file content via the Tantivy search engine, all within Neovim.


Commands

  • Neorg search index - Create the search engine index for the current workspace. This command is auto run in a separate thread when you load the plugin. It does not yet automatically update (WIP, and all that)
  • Neorg search query fulltext - "normal" search. Searches body text, title, and categories
  • Neorg search query categories - search for all files tagged with one or more categories

Install

You need the rust toolchain installed or this plugin will not build

Lazy.nvim

Can be listed as a dependency of "nvim-neorg/neorg"

{ "benlubas/neorg-se" }
Rocks.nvim

:Rocks install neorg-se

["external.search"] = {
    -- values shown are the default
    config = {
        -- Index the workspace when neovim launches. This process happens on a separate thread, so
        -- it doesn't significantly contribute to startup time or block neovim
        index_on_start = true,
    }
},

Integrations

This plugin can also act as a category completion source for benlubas/neorg-interim-ls. No additional configuration is required here. Just install and load this module and configure the rest in neorg-interim-ls!