JoeKleinsorge / notes.nvim

Neovim notes plugin based of Dendron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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" },
}

About

Neovim notes plugin based of Dendron


Languages

Language:Lua 100.0%