Merge branch 'main' of 192.168.0.184:andrzej/dotfiles
This commit is contained in:
commit
f750467ce5
|
@ -1,6 +1,10 @@
|
|||
return {
|
||||
"m4xshen/autoclose.nvim",
|
||||
config = function()
|
||||
require("autoclose").setup({})
|
||||
require("autoclose").setup({
|
||||
options = {
|
||||
disabled_filetypes = { "text", "markdown" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
@ -1,20 +1,5 @@
|
|||
return {
|
||||
"ThePrimeagen/harpoon",
|
||||
config = function()
|
||||
local harpoon_ui = require("harpoon.ui")
|
||||
--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,
|
||||
branch = "harpoon2",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@ return {
|
|||
config = function()
|
||||
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" })
|
||||
local Path = require("plenary.path")
|
||||
local config = require("session_manager.config")
|
||||
require("session_manager").setup({
|
||||
autoload_mode = config.AutoloadMode.CurrentDir,
|
||||
|
|
|
@ -128,4 +128,33 @@ return {
|
|||
end, { 1 }),
|
||||
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("|"),
|
||||
}),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue