Skip to content

willem66745/notitiebak.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notitiebak

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.

Installation

With Lazy, use the following snippet:

return {
  'willem66745/notitiebak.nvim',
  opts = {},
}

Usage

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.

Configuration

The default settings are:

{
  notes_directory = '~/notes',
  default_note = 'todays_date',
  template = '~/notes/.template.md',
}

Default note

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

Template

When note doesn't exist, the template will be used to populate the initial note.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages