Skip to content

italianoW/brain.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🧠 brain.nvim

A minimal Neovim plugin to quickly capture notes into a local ~/brain folder.

Features

  • :Brain command 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

Installation

Using lazy.nvim

{
  "italianow/brain.nvim",
  dependencies = { "nvim-telescope/telescope.nvim" },
  config = function()
    require("brain").setup()
  end,
}

Usage

  1. Run :Brain — a split opens at the bottom
  2. Type your title, press <Enter>
  3. Type your tags (comma or space separated, e.g. ideas, work, nvim), press <Enter>
  4. Write your note content freely
  5. Press <C-s> or run :BrainSave to save

Press <Esc> at any point to cancel.


Output Format

Each note is saved as ~/brain/<title>.md:

# My Note Title

tags: #ideas #work #nvim

---

Your note content goes here.

Configuration

require("brain").setup({
  brain_dir = "~/brain", -- where notes are stored
})

About

Plugin for studying using lua for nvim.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages