return { { "ThePrimeagen/harpoon", config = function() vim.keymap.set("n", "af", function() require("harpoon.mark").add_file() end) vim.keymap.set("n", "hf", function() require("harpoon.ui").toggle_quick_menu() end) vim.keymap.set("n", "Hn", function() require("harpoon.ui").nav_next() end) vim.keymap.set("n", "Hp", function() require("harpoon.ui").nav_prev() end) end }, --{ -- 'Exafunction/windsurf.vim', -- event = 'BufEnter' --}, { "Ascyii/vim-gnupg", dev = true }, { "akinsho/toggleterm.nvim", config = function() -- Cannot setup with opts here need to call before using the command for the plugin require("toggleterm").setup({ size = 20, direction = "horizontal", }) local first_open = false local function toggle_term() vim.cmd("ToggleTerm") if first_open == true then vim.cmd("startinsert") end end vim.keymap.set("n", "", toggle_term, { noremap = true, silent = true }) vim.keymap.set("t", "", toggle_term, { noremap = true, silent = true }) end }, { 'Ascyii/telekasten.nvim', dev = true, config = function() local base_zet = "~/Nextcloud/Notes" -- Again can only use opts when not using config require("telekasten").setup({ home = vim.fn.expand(base_zet), dailies = vim.fn.expand(base_zet .. "/daily"), image_subdir = vim.fn.expand(base_zet .. "/media"), weeklies = vim.fn.expand(base_zet .. "/weekly"), templates = vim.fn.expand(base_zet .. "/templates"), template_new_note = vim.fn.expand(base_zet .. "/templates/note.md"), template_new_daily = vim.fn.expand(base_zet .. "/templates/daily.md"), template_new_weekly = vim.fn.expand(base_zet .. "/templates/weekly.md"), filename_format = "%Y%m%d%H%M-%title%", new_note_filename = "uuid-title", uuid_type = "%Y%m%d%H%M", uuid_separator = "-", }) -- Telekasten occupies the z namespace vim.keymap.set("n", "z", "Telekasten panel") vim.keymap.set("n", "zf", "Telekasten find_notes") vim.keymap.set("n", "zg", "Telekasten search_notes") vim.keymap.set("n", "zd", "Telekasten goto_today") vim.keymap.set("n", "zr", "Telekasten rename_note") vim.keymap.set("n", "zz", "Telekasten follow_link") vim.keymap.set("n", "zn", "Telekasten new_note") vim.keymap.set("n", "zb", "Telekasten show_backlinks") vim.keymap.set("n", "zw", "Telekasten find_weekly_notes") vim.keymap.set("n", "il", "Telekasten insert_link") vim.keymap.set("n", "zI", "Telekasten insert_img_link") end }, };