tweaks
This commit is contained in:
parent
f4172e2c80
commit
822050bd78
|
@ -1,6 +1,10 @@
|
||||||
return {
|
return {
|
||||||
"m4xshen/autoclose.nvim",
|
"m4xshen/autoclose.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
require("autoclose").setup({})
|
require("autoclose").setup({
|
||||||
|
options = {
|
||||||
|
disabled_filetypes = { "text", "markdown" },
|
||||||
|
},
|
||||||
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,5 @@
|
||||||
return {
|
return {
|
||||||
"ThePrimeagen/harpoon",
|
"ThePrimeagen/harpoon",
|
||||||
config = function()
|
branch = "harpoon2",
|
||||||
local harpoon_ui = require("harpoon.ui")
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
--go to user-inputted harpoon
|
|
||||||
vim.keymap.set({ "n" }, "<C-'>", function()
|
|
||||||
local user_input = tonumber(vim.fn.input("Where ya goin'?"))
|
|
||||||
if user_input then
|
|
||||||
harpoon_ui.nav_file(user_input)
|
|
||||||
else
|
|
||||||
vim.cmd("Telescope harpoon marks")
|
|
||||||
-- harpoon_ui.toggle_quick_menu()
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
vim.keymap.set("n", "<C-¡>", function()
|
|
||||||
require("harpoon.mark").add_file()
|
|
||||||
print("Buffer added to harpoon!")
|
|
||||||
end)
|
|
||||||
end,
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,6 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
vim.keymap.set("n", "<leader>sS", "<cmd>SessionManager load_session<CR>", { desc = "Search sessions" })
|
vim.keymap.set("n", "<leader>sS", "<cmd>SessionManager load_session<CR>", { desc = "Search sessions" })
|
||||||
vim.keymap.set("n", "<leader>dS", "<cmd>SessionManager delete_session<CR>", { desc = "Delete session" })
|
vim.keymap.set("n", "<leader>dS", "<cmd>SessionManager delete_session<CR>", { desc = "Delete session" })
|
||||||
local Path = require("plenary.path")
|
|
||||||
local config = require("session_manager.config")
|
local config = require("session_manager.config")
|
||||||
require("session_manager").setup({
|
require("session_manager").setup({
|
||||||
autoload_mode = config.AutoloadMode.CurrentDir,
|
autoload_mode = config.AutoloadMode.CurrentDir,
|
||||||
|
|
|
@ -128,4 +128,33 @@ return {
|
||||||
end, { 1 }),
|
end, { 1 }),
|
||||||
t({ "", "" }),
|
t({ "", "" }),
|
||||||
}),
|
}),
|
||||||
|
s("d6", {
|
||||||
|
t("|d6|"),
|
||||||
|
i(1, "Effect"),
|
||||||
|
t({ "|", "" }),
|
||||||
|
f(function(args)
|
||||||
|
return "|---|" .. arbDashes(args[1][1]) .. "|"
|
||||||
|
end, { 1 }),
|
||||||
|
t({ "", "| 0 |" }),
|
||||||
|
i(2, "effect"),
|
||||||
|
t("|"),
|
||||||
|
t({ "", "| 1 |" }),
|
||||||
|
i(3, "effect"),
|
||||||
|
t("|"),
|
||||||
|
t({ "", "| 2 |" }),
|
||||||
|
i(4, "effect"),
|
||||||
|
t("|"),
|
||||||
|
t({ "", "| 3 |" }),
|
||||||
|
i(5, "effect"),
|
||||||
|
t("|"),
|
||||||
|
t({ "", "| 4 |" }),
|
||||||
|
i(6, "effect"),
|
||||||
|
t("|"),
|
||||||
|
t({ "", "| 5 |" }),
|
||||||
|
i(7, "effect"),
|
||||||
|
t("|"),
|
||||||
|
t({ "", "| 6 |" }),
|
||||||
|
i(8, "effect"),
|
||||||
|
t("|"),
|
||||||
|
}),
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
LAST_EPOCH=19922
|
LAST_EPOCH=19952
|
||||||
|
|
Loading…
Reference in New Issue