Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.34 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.34 KB

thisn is cool

nvim-notes

Minimal and opinionated note taking and searching plugin for Neovim inspired by Dendron.

Features

  • Quickly create new notes and search old ones in place
  • Search notes by name (using telescope)
  • Search for text in all your notes with Live Grep (using telescope)
  • Create new daily notes with metadata

Requirements

This plugin is entirely dependent on telescope, follow their installation instructions here.

Which-Key bindings

Which-Key

NeoVim

vim.api.nvim_set_keymap('n', '<leader>n', ':lua require("neovim_note").new_note()<cr>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>f', ':lua require("neovim_note").find_note()<cr>', { noremap = true, silent = true })
vim.api.nvim_set_keymap('n', '<leader>s', ':lua require("neovim_note").search_notes()<cr>', { noremap = true, silent = true })

LunarVim

lvim.builtin.which_key.mappings["n"] = {
  name = "Notes",
  n = { "<cmd>lua require('nvim-notes').new_note()<cr>", "New Note" },
  f = { "<cmd>lua require('nvim-notes').find_note()<cr>", "Find Note" },
  s = { "<cmd>lua require('nvim-notes').search_notes()<cr>", "Search Notes" },
}