return { -- Navigate between NVIM & Tmux splits seamlessly { "christoomey/vim-tmux-navigator" }, -- Navigate between NVIM & kitty splits seamlessly { "knubie/vim-kitty-navigator", build = "cp ./*.py ~/.config/kitty/", }, -- Open Kitty terminal scrollback as buffer { "mikesmithgh/kitty-scrollback.nvim", lazy = true, cmd = { "KittyScrollbackGenerateKittens", "KittyScrollbackCheckHealth" }, event = { "User KittyScrollbackLaunch" }, version = "^4.0.0", opts = { status_window = { icons = { nvim = "" }, }, }, config = function() require("kitty-scrollback").setup() end, }, -- Changes the Nvim root to git root { "airblade/vim-rooter", config = function() vim.g.rooter_cd_cmd = "tcd" -- Use tcd command to change the root end, }, -- Display undotree { "mbbill/undotree", keys = { { "u", "UndotreeToggle", desc = "Toggle Undotree panel" }, }, }, { "folke/which-key.nvim", config = function() -- document existing key chains require("which-key").register({ ["c"] = { name = "[C]ode", _ = "which_key_ignore" }, ["b"] = { name = "[B]buffer Operations", _ = "which_key_ignore" }, ["d"] = { name = "[D]iagnostics", _ = "which_key_ignore" }, ["f"] = { name = "[F]ile Operations", _ = "which_key_ignore" }, ["g"] = { name = "[G]it Operations", _ = "which_key_ignore" }, ["l"] = { name = "[L]ist Things", _ = "which_key_ignore" }, ["n"] = { name = "[N]VIM Operations", _ = "which_key_ignore" }, ["s"] = { name = "[S]earch/Grep Things", _ = "which_key_ignore" }, ["t"] = { name = "Unit [T]est Operations", _ = "which_key_ignore" }, ["x"] = { name = "Delete/Remove Something", _ = "which_key_ignore" }, }) -- register which-key VISUAL mode -- required for visual hs (hunk stage) to work require("which-key").register({ [""] = { name = "VISUAL " }, ["h"] = { "Git [H]unk" }, }, { mode = "v" }) end, }, -- Session management. Saves your session in the background -- TIP: autocmd to autoload sessions at: ../config/autocmd.lua { "folke/persistence.nvim", event = "BufReadPre", opts = { -- Session files stored at: ~/.config/nvim/sessions/ dir = vim.fn.expand(vim.fn.stdpath("config") .. "/sessions/"), }, }, -- Speedup loading large files by disabling some plugins { "LunarVim/bigfile.nvim", lazy = true, opts = { filesize = 2, --2MiB pattern = "*", features = { "indent_blankline", "lsp", "syntax", "treesitter", }, }, }, }