From 307fceea38b7352a79b0bdb87025a34b76973867 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 19 Jun 2025 18:34:13 +0900 Subject: updates --- .../TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua | 172 --------------------- 1 file changed, 172 deletions(-) delete mode 100644 ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua (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 deleted file mode 100644 index eda6e6f..0000000 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/wiki.lua +++ /dev/null @@ -1,172 +0,0 @@ -return { - { - "vimwiki/vimwiki", - init = function() - local wk = require("which-key") - wk.add({ - mode = { "n" }, - { "w", group = "Vimwiki/Which-key" }, - { "w", group = "Diary" }, - }) - - -- Set up Vimwiki list - vim.g.vimwiki_list = { - { - path = vim.fn.expand("~/.local/share/vimwiki"), - template_path = vim.fn.expand("~/.local/share/vimwiki/templates"), - auto_toc = 1, - syntax = "markdown", - nested_syntaxes = { - python = "python", - ["c++"] = "cpp", - }, - ext = ".md", - }, - } - - vim.g.vimwiki_global_ext = 1 - - -- Ensure files are read with the desired filetype - vim.g.vimwiki_ext2syntax = { - [".Rmd"] = "markdown", - [".rmd"] = "markdown", - [".md"] = "markdown", - [".markdown"] = "markdown", - [".mdown"] = "markdown", - } - end, - keys = { - { "ww", ":VimwikiIndex", desc = "Vimwiki index" }, - { "wu", ":VimwikiUISelect", desc = "Vimwiki UI" }, - }, - }, - { - "tools-life/taskwiki", - ft = "vimwiki", - event = "VeryLazy", - dependencies = { - "vimwiki/vimwiki", - { - "powerman/vim-plugin-AnsiEsc", - config = function() - pcall(vim.keymap.del, "n", "swp") - pcall(vim.keymap.del, "n", "rwp") - end, - }, - "majutsushi/tagbar", - "farseer90718/vim-taskwarrior", - }, - config = function() - local wk = require("which-key") - wk.add({ - mode = { "n" }, - { "tb", group = "Burndown" }, - { "tc", group = "Choose" }, - { "tG", group = "Ghistory" }, - { "th", group = "History" }, - }) - - vim.g.taskwiki_markup_syntax = "markdown" - vim.g.taskwiki_data_location = "~/.local/share/task" - end, - }, - { - "renerocksai/telekasten.nvim", - dependencies = { - "nvim-telescope/telescope.nvim", - { - "nvim-telekasten/calendar-vim", - init = function() - vim.g.calendar_diary = "~/.local/share/vimwiki/diary" - vim.g.calendar_no_mappings = 1 - end, - keys = { { "cA", "CalendarT", desc = "Open calendar" } }, - }, - }, - 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", - }, - { - "ca", - 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