Simplistic note taking plugin for Neovim. Inspired on zettelkasten but adapted to my own means. So instead of German I tried to translate it loosely into Dutch: notitiebak.
With Lazy, use the following snippet:
return {
'willem66745/notitiebak.nvim',
opts = {},
}
To toggle a note use in command mode: :NotitieToggle
. By default per day a
new note file is created. The note file is stored in the directory
~/notes/
. The note file is named after the date in the format YYYY-MM-DD.md
.
The default settings are:
{
notes_directory = '~/notes',
default_note = 'todays_date',
template = '~/notes/.template.md',
}
The default_note
can be string, which will result that every note will end
up in the same file.
Dynamic behavior can archived by providing a function that returns a string. Also when providing a special value as text can yield dynamic behavior:
- Today's date:
todays_date
- Current branch name:
branch_name
When note doesn't exist, the template will be used to populate the initial note.