starter/lua/plugins/init.lua
John Grant ee21b1952c wip
2025-08-29 23:43:49 -04:00

82 lines
1.9 KiB
Lua

return {
{ "ThePrimeagen/vim-be-good" },
{ "tpope/vim-sleuth" },
-- LazyDev (Lua plugin typedefs)
{
"folke/lazydev.nvim",
ft = "lua",
opts = {
library = {
"~/.local/share/nvim-lazy/lazy/", -- Path to your lazy.nvim plugins
},
},
},
-- AutoSession
{
"rmagatti/auto-session",
lazy = false,
---enables autocomplete for opts
---@module "auto-session"
---@type AutoSession.Config
opts = {
suppressed_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
-- log_level = 'debug',
},
},
-- Surround
{
"kylechui/nvim-surround",
version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features
event = "VeryLazy",
config = function()
require("nvim-surround").setup({
-- Configuration here, or leave empty to use defaults
})
end,
},
-- TMUX Navigator
{
"christoomey/vim-tmux-navigator",
cmd = {
"TmuxNavigateLeft",
"TmuxNavigateDown",
"TmuxNavigateUp",
"TmuxNavigateRight",
"TmuxNavigatePrevious",
"TmuxNavigatorProcessList",
},
keys = {
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" },
{ "<c-j>", "<cmd><C-U>TmuxNavigateDown<cr>" },
{ "<c-k>", "<cmd><C-U>TmuxNavigateUp<cr>" },
{ "<c-l>", "<cmd><C-U>TmuxNavigateRight<cr>" },
--{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
},
},
-- lazydocker.nvim
{
"mgierada/lazydocker.nvim",
dependencies = { "akinsho/toggleterm.nvim" },
config = function()
require("lazydocker").setup({
border = "curved", -- valid options are "single" | "double" | "shadow" | "curved"
})
end,
event = "BufRead",
keys = {
{
"<leader>dd",
function()
require("lazydocker").open()
end,
desc = "Open Lazydocker floating window",
},
},
},
}