diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-05 02:39:54 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-05 02:39:54 +0900 |
| commit | bc3c4dc00f4f61419217813a889574bfaafe3722 (patch) | |
| tree | 69883e8300f4c9b9ba835946d97ea71a75deb562 /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/vimwiki.lua | |
| parent | d29b84c02475e9cbd72c59528ad9950e9f26ad65 (diff) | |
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/vimwiki.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/vimwiki.lua | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/vimwiki.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/vimwiki.lua deleted file mode 100644 index 73ed91c..0000000 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/vimwiki.lua +++ /dev/null @@ -1,64 +0,0 @@ -return { - { - "vimwiki/vimwiki", - cmd = { - "VimwikiIndex", - "VimwikiDeleteFile", - "Vimwiki2HTML", - "VimwikiAll2HTML", - "Vimwiki2HTMLBrowse", - "VimwikiGoto", - "VimwikiRenameFile", - "VimwikiSplitLink", - "VimwikiVSplitLink", - "VimwikiColorize", - "VimwikiDiaryGenerateLinks", - }, - init = function() - local wk = require("which-key") - wk.add({ - mode = { "n" }, - { "<leader>w", group = "Vimwiki" }, - { "<leader>w<leader>", group = "Diary" }, - }) - end, - config = function() - -- Ensure files are read with the desired filetype - vim.g.vimwiki_ext2syntax = { - [".Rmd"] = "markdown", - [".rmd"] = "markdown", - [".md"] = "markdown", - [".markdown"] = "markdown", - [".mdown"] = "markdown", - } - -- Set up Vimwiki list - vim.g.vimwiki_list = { - { - path = vim.fn.expand("~/.local/share/vimwiki"), - syntax = "markdown", - ext = ".md", - }, - } - end, - keys = { - { "<leader>ww", ":VimwikiIndex<CR>", desc = "Vimwiki index" }, - }, - }, - { - "tools-life/taskwiki", - cmd = { "TaskWikiInfo", "TaskWikiSummary", "TaskWikiStart", "TaskWikiMod" }, - dependencies = { - "vimwiki/vimwiki", - "powerman/vim-plugin-AnsiEsc", - "majutsushi/tagbar", - "farseer90718/vim-taskwarrior", - }, - config = function() - require("taskwiki").setup() - vim.keymap.set("n", "<leader>tvi", ":TaskWikiInfo<CR>", { desc = "Task wiki info" }) - vim.keymap.set("n", "<leader>tvS", ":TaskWikiSummary<CR>", { desc = "Task wiki summary" }) - vim.keymap.set("n", "<leader>tvm", ":TaskWikiMod<CR>", { desc = "Task wiki modify" }) - vim.keymap.set("n", "<leader>tvs", ":TaskWikiMod<CR>", { desc = "Task wiki modify" }) - end, - }, -} |
