Obisiand.nvim Plugin

Obsidian.nvim is a plugin for Neovim that recreates some functionality from Obsidian and enables launching and using Obsidian features for other things.

I added it to my Lazy plugins like so:

{
        "epwalsh/obsidian.nvim",
        version = "*", -- recommended, use latest release instead of latest commit
        lazy = true,
        ft = "markdown",
        dependencies = {
            "nvim-lua/plenary.nvim",
        },
        config = function()
            require("obsidian").setup({
                disable_frontmatter = true, -- super important!!!
                workspaces = {
                    {
                        name = "messy",
                        path = "~/messy",
                    },
                    {
                        name = "muddocs",
                        path = "~/mud-prep/muddocs/",
                    },
                },
            })
        end,
    }

This makes it load on start, to be activated for markdown documents, with two vaults configured.

Vaults are just directories of notes in Obsidian parlance.

The disable_frontmatter option is so that it wont reformat my front matter blocks and inject extra garbage into them. It injected an id with the creation or last save if no id was present for an existing document. I use file names for that information. And I track all my notes in git for anything else I might want to know about them. But the biggest part is that this disables all the modifications to my YAML headers on save, so it stops it from turning my condensed one-line tag list into a multi line nightmare.

YAML arrays can be stored like so:

foo: [bar, baz, quux]

Or:

foo:
    - bar
    - baz
    - quux

I prefer the condensed view for my headers because it means my documents begin at a consistent offset that I find visually appealing.

Tags: nvim

Tags

#nvim

Navigation

index
tags

Backlinks

2025-01-23 - Neovim Telescope for links

created: 2025-01-22

(re)generated: 2025-11-27