Skip to content

benlubas/neorg-se

Repository files navigation

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. Must be run each time you launch nvim before you can run a query (WIP like I said)
  • 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!