Skip to content

andrewwillette/notes.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notes.nvim

A neovim plugin for recurring note-taking!

Example configuration:

local dailynotes = require("dailynotes")

-- absolute path required
local homedir = os.getenv("HOME")

vim.keymap.set("n", "<leader>dn", function()
    dailynotes.opendailynote({
      keymap = "<leader>pn", 
      directory = homedir .. "/personal_notes"
      filetype = ".md",
    })
  end,
{ noremap = true })

-- optionally, you can provide the absolute filepath to a "template file" to populate new daily files
vim.keymap.set("n", "<leader>dn", function()
    dailynotes.opendailynote({
      keymap = "<leader>pn", 
      directory = homedir .. "/personal_notes"
      filetype = ".md",
      templateFile = homedir .. "/personal_notes_template/dailytemplate.md",
    })
  end,
{ noremap = true })

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages