mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
123 lines
2.7 KiB
Lua
123 lines
2.7 KiB
Lua
return {
|
|
{ "ThePrimeagen/vim-be-good" },
|
|
{ "tpope/vim-sleuth" },
|
|
|
|
-- AutoSession
|
|
{
|
|
"rmagatti/auto-session",
|
|
lazy = false,
|
|
|
|
---enables autocomplete for opts
|
|
---@module "auto-session"
|
|
---@type AutoSession.Config
|
|
opts = {
|
|
suppressed_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
|
|
-- log_level = 'debug',
|
|
},
|
|
},
|
|
-- DBee (Database UI)
|
|
{
|
|
"kndndrj/nvim-dbee",
|
|
dependencies = {
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
build = function()
|
|
-- Install tries to automatically detect the install method.
|
|
-- if it fails, try calling it with one of these parameters:
|
|
-- "curl", "wget", "bitsadmin", "go"
|
|
require("dbee").install()
|
|
end,
|
|
config = function()
|
|
require("dbee").setup(--[[optional config]])
|
|
end,
|
|
},
|
|
|
|
-- 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,
|
|
},
|
|
|
|
-- Toggleterm
|
|
{
|
|
"akinsho/toggleterm.nvim",
|
|
version = "*",
|
|
config = true,
|
|
},
|
|
|
|
-- LazyDev (Lua plugin typedefs)
|
|
{
|
|
"folke/lazydev.nvim",
|
|
ft = "lua",
|
|
opts = {
|
|
library = {
|
|
"~/.local/share/nvim-lazy/lazy/ ", -- Path to your lazy.nvim plugins
|
|
},
|
|
},
|
|
},
|
|
|
|
-- Chkn (Scratchpad)
|
|
{
|
|
"ericrswanny/chkn.nvim",
|
|
config = function()
|
|
require("chkn").setup() -- Use the default configuration
|
|
end,
|
|
lazy = false,
|
|
keys = {
|
|
{
|
|
"<leader>.",
|
|
function()
|
|
vim.cmd("silent! ChknToggle")
|
|
end,
|
|
desc = "Toggle Scratchpad",
|
|
},
|
|
},
|
|
},
|
|
|
|
-- 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",
|
|
},
|
|
},
|
|
},
|
|
}
|