mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 03:30:36 +00:00
chore(bufferline.lua): remove bufferline configuration and key mappings for tab
management to simplify and streamline the setup of the bufferline plugin chore(bufferline.lua): remove bufferline plugin configuration and dependencies to declutter the plugin setup and improve maintainability
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
require("bufferline").setup {
|
||||
options = {
|
||||
mode = "tabs",
|
||||
separator_style = "slant",
|
||||
}
|
||||
}
|
||||
|
||||
local opts = { noremap = true, silent = true }
|
||||
|
||||
vim.api.nvim_set_keymap("n", "<leader>1", "<cmd>BufferLineGoToBuffer 1<CR>", opts)
|
||||
vim.api.nvim_set_keymap("n", "<leader>2", "<cmd>BufferLineGoToBuffer 2<CR>", opts)
|
||||
vim.api.nvim_set_keymap("n", "<leader>3", "<cmd>BufferLineGoToBuffer 3<CR>", opts)
|
||||
vim.api.nvim_set_keymap("n", "<leader>4", "<cmd>BufferLineGoToBuffer 4<CR>", opts)
|
||||
|
||||
|
||||
-- I want to be to close the current tab with a single keypress
|
||||
vim.api.nvim_set_keymap("n", "<leader>tc", "<cmd>tabclose<CR>", opts)
|
||||
|
||||
-- I want to be able to create a new tab with a single keypress
|
||||
vim.api.nvim_set_keymap("n", "<leader>tn", "<cmd>tabnew<CR>", opts)
|
||||
@@ -1,8 +0,0 @@
|
||||
return {
|
||||
"akinsho/bufferline.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
version = "*",
|
||||
config = function()
|
||||
require("absolute.after.bufferline")
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user