A simple and efficient quick notes plugin for Neovim that helps you capture thoughts and ideas without leaving your editor.
- 📝 Quick Note Creation: Create timestamped markdown notes instantly
- 🔍 Smart Search: Search within your notes using Telescope (with fallback)
- 📋 Note Listing: Browse all notes with fuzzy finding
- 🎯 LazyVim Integration: Seamless integration with LazyVim
- 🏥 Health Checks: Built-in health check support
- 🐛 Debug Mode: Development utilities for troubleshooting
With lazy.nvim (LazyVim)
{
"kubemancer/quick-notes.nvim",
config = function()
require("quick-notes").setup({
notes_dir = vim.fn.expand("~/notes"),
default_note_name = "quick-note",
date_format = "%Y-%m-%d_%H-%M-%S",
})
end,
keys = {
{ "<leader>nn", "<cmd>QuickNote<cr>", desc = "Create new quick note" },
{ "<leader>nl", "<cmd>QuickNoteList<cr>", desc = "List quick notes" },
{ "<leader>ns", "<cmd>QuickNoteSearch<cr>", desc = "Search notes" },
},
cmd = { "QuickNote", "QuickNoteList", "QuickNoteSearch" },
}With packer.nvim
use {
"kubemancer/quick-notes.nvim",
config = function()
require("quick-notes").setup()
end
}With vim-plug
Plug 'kubemancer/quick-notes.nvim'Then in your init.lua:
require("quick-notes").setup()Default configuration:
require("quick-notes").setup({
notes_dir = vim.fn.expand("~/notes"), -- Directory to store notes
default_note_name = "quick-note", -- Default note filename prefix
date_format = "%Y-%m-%d_%H-%M-%S", -- Timestamp format
debug = false, -- Enable debug mode
}):QuickNote- Create a new timestamped note:QuickNoteList- List all notes (uses Telescope if available):QuickNoteSearch- Search within note contents
<leader>nn- Create new quick note<leader>nl- List quick notes<leader>ns- Search notes
Each note is created with a basic template:
# Quick Note - 2024-01-15 14:30:45
## Notes- Neovim >= 0.7.0
- telescope.nvim - Enhanced file listing and search
- plenary.nvim - Required by Telescope
Run :checkhealth quick-notes to verify your installation and configuration.
Enable debug mode for development:
require("quick-notes").setup({
debug = true,
})Debug commands (only available in debug mode):
:QuickNoteDebug- Run plugin tests:QuickNoteInspect- Inspect current configuration
MIT License