From 8f58abed84ca8a91e44f6a0af3354dc1e950b30a Mon Sep 17 00:00:00 2001 From: lambtho12 Date: Tue, 14 Dec 2021 21:25:15 +0100 Subject: [PATCH] fix: make goto_today() look for daily notes, not zettels --- lua/telekasten.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telekasten.lua b/lua/telekasten.lua index ff72503..90a4c5d 100644 --- a/lua/telekasten.lua +++ b/lua/telekasten.lua @@ -1494,7 +1494,7 @@ local function GotoDate(opts) find_files_sorted({ prompt_title = "Goto day", - cwd = M.Cfg.home, + cwd = M.Cfg.dailies, default_text = word, find_command = M.Cfg.find_command, attach_mappings = function(prompt_bufnr, map)