A simple, minimal Neovim post-it plugin for non-sophisticated note takers.
- 🙅♂️ No checkboxes, no markdown, nothing but a post-it
- 📅 Automatic timestamps in DD/MM/YY HH:MM format (Look at you fancy post-it!)
- 🔗 File navigation - 'Enter' on file paths to open them (Whaaat?)
- 💾 Auto-saves notes (stored in
~/.local/share/nvim/postit/) - 🖼️ Floating window interface
- 📏 Toggle between normal and fullscreen modes
- 🧹 Easy note clearing
Using lazy.nvim
Option 1: Zero configuration (should work out of the box)
{
"kad1kad/postit.nvim"
}Option 2: With custom settings
{
"kad1kad/postit.nvim",
opts = {
width = 80,
height = 25,
border = "double"
}
}Using packer.nvim
Option 1: Auto-setup
use "kad1kad/postit.nvim"<leader>nt- Toggle post-it note<leader>nf- Toggle fullscreen mode<leader>nd- Clear note content (also resets timestamp)<Enter>orgf- Navigate to file under cursor<Esc>orq- Close post-it (when in post-it)
You can customize the plugin by passing options to the setup function:
require("postit").setup({
width = 80, -- Window width (default: 60)
height = 25, -- Window height (default: 20)
border = "single", -- Border style: "single", "double", "rounded", "solid", "shadow"
})- Neovim 0.7+
MIT