Removes unused plugins
This commit is contained in:
parent
3bcc103750
commit
140198e9da
3 changed files with 0 additions and 102 deletions
|
|
@ -1,36 +0,0 @@
|
||||||
return {
|
|
||||||
"ThePrimeagen/harpoon",
|
|
||||||
branch = "harpoon2",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
|
||||||
config = function()
|
|
||||||
local harpoon = require("harpoon")
|
|
||||||
|
|
||||||
harpoon:setup()
|
|
||||||
|
|
||||||
-- Keybindings
|
|
||||||
vim.keymap.set("n", "<leader>hs", function()
|
|
||||||
harpoon.ui:toggle_quick_menu(harpoon:list())
|
|
||||||
end)
|
|
||||||
vim.keymap.set("n", "<leader>ha", function()
|
|
||||||
harpoon:list():add()
|
|
||||||
end)
|
|
||||||
vim.keymap.set("n", "<leader>hy", function()
|
|
||||||
harpoon:list():select(1)
|
|
||||||
end)
|
|
||||||
vim.keymap.set("n", "<leader>hu", function()
|
|
||||||
harpoon:list():select(2)
|
|
||||||
end)
|
|
||||||
vim.keymap.set("n", "<leader>hi", function()
|
|
||||||
harpoon:list():select(3)
|
|
||||||
end)
|
|
||||||
vim.keymap.set("n", "<leader>ho", function()
|
|
||||||
harpoon:list():select(4)
|
|
||||||
end)
|
|
||||||
vim.keymap.set("n", "<leader>hp", function()
|
|
||||||
harpoon:list():prev()
|
|
||||||
end)
|
|
||||||
vim.keymap.set("n", "<leader>hn", function()
|
|
||||||
harpoon:list():next()
|
|
||||||
end)
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
@ -1,54 +0,0 @@
|
||||||
return {
|
|
||||||
"nvim-orgmode/orgmode",
|
|
||||||
dependencies = {
|
|
||||||
"akinsho/org-bullets.nvim",
|
|
||||||
},
|
|
||||||
event = "VeryLazy",
|
|
||||||
ft = { "org" },
|
|
||||||
config = function()
|
|
||||||
require("orgmode").setup({
|
|
||||||
org_agenda_files = "~/orgnzr/**/*",
|
|
||||||
org_default_notes_file = "~/orgnzr/inbox.org",
|
|
||||||
org_todo_keywords = { "PROJECT(p)", "TODO(t)", "NEXT(n)", "|", "DONE(d)" },
|
|
||||||
win_split_mode = "auto",
|
|
||||||
org_startup_indented = true,
|
|
||||||
org_indent_mode_turns_off_org_adapt_indentation = true,
|
|
||||||
org_hide_leading_stars = true,
|
|
||||||
org_blank_before_new_entry = { heading = false, plain_list_item = false },
|
|
||||||
org_startup_folded = "content",
|
|
||||||
org_ellipsis = " ",
|
|
||||||
org_capture_templates = {
|
|
||||||
t = { description = "(t)odo", template = "* TODO %?\n" },
|
|
||||||
a = { description = "Todo (a)t line", template = "* TODO %?\nat: %a" },
|
|
||||||
l = { description = "(l)ink", template = "* %x%?" },
|
|
||||||
j = {
|
|
||||||
description = "(j)ournal entry",
|
|
||||||
template = "\n** %?",
|
|
||||||
datetree = {
|
|
||||||
tree_type = "custom",
|
|
||||||
tree = {
|
|
||||||
{
|
|
||||||
format = "%Y-%m-%d",
|
|
||||||
pattern = "^(%d%d%d%d)-(%d%d)-(%d%d)$",
|
|
||||||
order = { 1 },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
target = "~/orgnzr/journal.org",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
require("org-bullets").setup()
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
|
||||||
pattern = "org",
|
|
||||||
callback = function()
|
|
||||||
vim.keymap.set("i", "<S-CR>", '<cmd>lua require("orgmode").action("org_mappings.meta_return")<CR>', {
|
|
||||||
silent = true,
|
|
||||||
buffer = true,
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
@ -98,18 +98,6 @@ return {
|
||||||
mode = "n",
|
mode = "n",
|
||||||
},
|
},
|
||||||
{ "<leader>o", group = "org", mode = "n" },
|
{ "<leader>o", group = "org", mode = "n" },
|
||||||
{
|
|
||||||
"<leader>oi",
|
|
||||||
"<cmd>:vsplit ~/orgnzr/inbox.org | wincmd l<cr>",
|
|
||||||
desc = "Open inbox to the side",
|
|
||||||
mode = "n",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>oj",
|
|
||||||
"<cmd>:vsplit ~/orgnzr/journal.org | wincmd l<cr>",
|
|
||||||
desc = "Open journal to the side",
|
|
||||||
mode = "n",
|
|
||||||
},
|
|
||||||
{ "<leader>t", group = "diagnostics (lsp)", mode = "n" },
|
{ "<leader>t", group = "diagnostics (lsp)", mode = "n" },
|
||||||
{
|
{
|
||||||
"<leader>td",
|
"<leader>td",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue