configs

configs
git clone https://git.prime8.dev/configs.git
Log | Files | Refs | README

buffers.lua (625B)


      1 ---@type LazySpec
      2 return {
      3   {
      4     "j-morano/buffer_manager.nvim",
      5     dependencies = { "nvim-lua/plenary.nvim" },
      6     config = true,
      7   },
      8   {
      9     "AstroNvim/astrocore",
     10     ---@param opts AstroCoreOpts
     11     opts = {
     12       mappings = {
     13         n = {
     14           ["<leader>b"] = {
     15             function() require("buffer_manager.ui").toggle_quick_menu() end,
     16             desc = "Open Buffer Manager",
     17           },
     18         },
     19         i = {
     20           ["<C-n>"] = { "<Esc>", desc = "Exit insert mode" },
     21         },
     22         t = {
     23           ["<C-n>"] = { "<C-\\><C-n>", desc = "Exit terminal mode" },
     24         },
     25       },
     26     },
     27   },
     28 }