From 1f755938761193399cad1f740fe58ec2483c2eac Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 5 Jun 2025 10:47:44 +0900 Subject: modified core/keymaps.lua, modified plugins/markdown.lua, modified plugins/telescope.lua, modified plugins/wiki.lua, created plugins/todo.lua --- .../TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua | 92 ++++++++++++++++++++++ 1 file changed, 92 insertions(+) (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua') diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua index a14181c..3c94532 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua @@ -55,4 +55,96 @@ return { vim.g.taskwiki_data_location = "~/.local/share/task" end, }, + { + "renerocksai/telekasten.nvim", + dependencies = { + "nvim-telescope/telescope.nvim", + "nvim-telekasten/calendar-vim", + }, + init = function() + local wk = require("which-key") + wk.add({ + mode = { "n" }, + { "n", group = "Notes" }, + }) + end, + config = function() + require("telekasten").setup({ + home = vim.fn.expand("~/.local/share/vimwiki"), -- Put the name of your notes directory here + }) + end, + keys = { + { + "fn", + function() + require("telekasten").find_notes() + end, + desc = "Find notes", + }, + { + "np", + function() + require("telekasten").panel() + end, + desc = "Open note panel", + }, + { + "sn", + function() + require("telekasten").search_notes() + end, + desc = "Search notes", + }, + { + "nt", + function() + require("telekasten").goto_today() + end, + desc = "Goto today notes", + }, + { + "nl", + function() + require("telekasten").follow_link() + end, + desc = "Follow link", + }, + { + "nn", + function() + require("telekasten").new_note() + end, + desc = "Open new note", + }, + { + "tc", + function() + require("telekasten").show_calendar() + end, + desc = "Show calendar", + }, + { + "nb", + function() + require("telekasten").show_backlinks() + end, + desc = "Show backlinks", + }, + { + "ii", + function() + require("telekasten").insert_img_link() + end, + desc = "Insert image link", + }, + { + mode = "i", + "]]", + function() + require("telekasten").insert_link() + end, + desc = "Insert link", + }, + }, + }, } -- cgit v1.2.3