mini-tabline for buffer tabs
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "ae609525ddf01c153c39305730b1791800ffe4fe" },
|
||||
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
||||
"mini.tabline": { "branch": "main", "commit": "caf23615b9b99bacc79ecd60f61c4e6a8ec18c84" },
|
||||
"nvim": { "branch": "main", "commit": "beaf41a30c26fd7d6c386d383155cbd65dd554cd" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "da88697d7f45d16852c6b2769dc52387d1ddc45f" },
|
||||
|
||||
@@ -30,3 +30,6 @@ map("n", "<leader>td", function()
|
||||
virtual_text = diagnostics_visible,
|
||||
})
|
||||
end, { desc = "Toggle inline diagnostics" })
|
||||
|
||||
vim.keymap.set("n", "]b", "<cmd>bnext<cr>", { desc = "Next buffer" })
|
||||
vim.keymap.set("n", "[b", "<cmd>bprevious<cr>", { desc = "Previous buffer" })
|
||||
|
||||
@@ -7,6 +7,8 @@ return {
|
||||
local harpoon = require("harpoon")
|
||||
harpoon:setup()
|
||||
|
||||
|
||||
|
||||
-- Add current file
|
||||
vim.keymap.set("n", "<leader>ha", function()
|
||||
harpoon:list():add()
|
||||
|
||||
+9
-1
@@ -27,5 +27,13 @@ return {
|
||||
options = { theme = "auto", globalstatus = true },
|
||||
})
|
||||
end,
|
||||
}
|
||||
},
|
||||
{
|
||||
"echasnovski/mini.tabline",
|
||||
version = false,
|
||||
config = function()
|
||||
require("mini.tabline").setup()
|
||||
end,
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user