A minimal Neovim plugin to quickly capture notes into a local ~/brain folder.
:Braincommand opens a guided note editor (title → tags → content)- Notes saved as Markdown files in
~/brain/named after the title - Tags normalized and written to frontmatter
- Opens the saved file after writing
Using lazy.nvim
{
"italianow/brain.nvim",
dependencies = { "nvim-telescope/telescope.nvim" },
config = function()
require("brain").setup()
end,
}- Run
:Brain— a split opens at the bottom - Type your title, press
<Enter> - Type your tags (comma or space separated, e.g.
ideas, work, nvim), press<Enter> - Write your note content freely
- Press
<C-s>or run:BrainSaveto save
Press <Esc> at any point to cancel.
Each note is saved as ~/brain/<title>.md:
# My Note Title
tags: #ideas #work #nvim
---
Your note content goes here.require("brain").setup({
brain_dir = "~/brain", -- where notes are stored
})