mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +00:00
101 lines
2.3 KiB
Lua
101 lines
2.3 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",
|
|
},
|
|
},
|
|
},
|
|
|
|
-- Dadbob UI
|
|
{
|
|
"kristijanhusak/vim-dadbod-ui",
|
|
dependencies = {
|
|
{ "tpope/vim-dadbod", lazy = true },
|
|
{ "kristijanhusak/vim-dadbod-completion", ft = { "sql", "mysql", "plsql" }, lazy = true }, -- Optional
|
|
},
|
|
cmd = {
|
|
"DBUI",
|
|
"DBUIToggle",
|
|
"DBUIAddConnection",
|
|
"DBUIFindBuffer",
|
|
},
|
|
init = function()
|
|
-- Your DBUI configuration
|
|
vim.g.db_ui_use_nerd_fonts = 1
|
|
end,
|
|
},
|
|
}
|