@@ -18,12 +18,12 @@ Using [lazy.nvim](https://github.com/folke/lazy.nvim):
1818
1919``` lua
2020{
21- " yourname /nvim-note-templates" ,
21+ " cmdblock /nvim-note-templates" ,
2222 dependencies = { " nvim-telescope/telescope.nvim" , " nvim-lua/plenary.nvim" },
2323 config = function ()
2424 require (" note_templates" ).setup ({
2525 -- Default configuration
26- templates_dir = vim .fn .stdpath (" config" ) .. " /templates" ,
26+ templates_dir = vim .fn .stdpath (" config" ) .. " /note- templates" ,
2727 })
2828 end ,
2929 keys = {
@@ -52,14 +52,14 @@ require("note_templates").setup({
5252
5353You can use these in your ` .md ` templates:
5454
55- | Variable | Description | Example Output |
56- | :--- | :--- | :--- |
57- | ` {{title}} ` / ` <% tp.file.title %> ` | Filename (without extension) | ` My Note ` |
58- | ` {{date}} ` / ` <% tp.date.now() %> ` | Current date | ` 2026-03-12 ` |
59- | ` {{time}} ` | Current time | ` 14:30 ` |
60- | ` {{modified}} ` / ` <% tp.file.last_modified_date() %> ` | Current Date & Time | ` 2026-03-12 14:30 ` |
61- | ` <% tp.date.yesterday() %> ` | Yesterday's date | ` 2026-03-11 ` |
62- | ` <% tp.date.tomorrow() %> ` | Tomorrow's date | ` 2026-03-13 ` |
55+ | Variable | Description | Example Output |
56+ | :---------------------------------------------------- | :--------------------------- | :-------------- --- |
57+ | ` {{title}} ` / ` <% tp.file.title %> ` | Filename (without extension) | ` My Note ` |
58+ | ` {{date}} ` / ` <% tp.date.now() %> ` | Current date | ` 2026-03-12 ` |
59+ | ` {{time}} ` | Current time | ` 14:30 ` |
60+ | ` {{modified}} ` / ` <% tp.file.last_modified_date() %> ` | Current Date & Time | ` 2026-03-12 14:30 ` |
61+ | ` <% tp.date.yesterday() %> ` | Yesterday's date | ` 2026-03-11 ` |
62+ | ` <% tp.date.tomorrow() %> ` | Tomorrow's date | ` 2026-03-13 ` |
6363
6464## 📄 License
6565
0 commit comments