diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-06 16:09:08 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-06 16:09:08 +0900 |
| commit | 7abaacdd7b7ebadaa6833c200eead4e84cb236d8 (patch) | |
| tree | a88e17cb25e4727ce478ec630f2af811b6245e88 /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua | |
| parent | c001b41da3757201e3b137efc9dc6e972f51f5bf (diff) | |
modified plugins/colorizer.lua, modified plugins/wiki.lua
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua index 83213ba..1048a1e 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua @@ -68,7 +68,14 @@ return { "renerocksai/telekasten.nvim", dependencies = { "nvim-telescope/telescope.nvim", - "nvim-telekasten/calendar-vim", + { + "nvim-telekasten/calendar-vim", + init = function() + vim.g.calendar_diary = "~/.local/share/vimwiki/diary" + vim.g.calendar_no_mappings = 1 + end, + keys = { { "<leader>cA", "<cmd>CalendarT<CR>", desc = "Open calendar" } }, + }, }, init = function() local wk = require("which-key") @@ -126,7 +133,7 @@ return { desc = "Open new note", }, { - "<leader>tc", + "<leader>ca", function() require("telekasten").show_calendar() end, |
