Files
nvim/lua/rua/plugins/bufferline.lua
xfy 2660f9e317 update telescope
remove bufferline
2024-09-27 13:24:16 +08:00

37 lines
1.1 KiB
Lua

return {
-- "akinsho/bufferline.nvim",
-- event = { "BufRead", "BufNew" },
-- dependencies = { "nvim-tree/nvim-web-devicons" },
-- version = "*",
-- opts = {
-- options = {
-- diagnostics = "nvim_lsp",
-- show_buffer_close_icons = false,
-- themable = true,
-- indicator = {
-- icon = "",
-- style = "none",
-- },
-- offsets = {
-- {
-- filetype = "NvimTree",
-- text = "",
-- text_align = "left",
-- separator = true,
-- },
-- },
-- },
-- },
-- config = function(_, opts)
-- require("bufferline").setup(opts)
--
-- local map = vim.keymap.set
-- map("n", "<leader>la", ":BufferLineCloseOthers<CR>", { silent = true })
-- map("n", "<leader>x", ":bp|bd# <CR>", { silent = true })
-- map("n", "<S-l>", ":BufferLineCycleNext<CR>", { silent = true })
-- map("n", "<S-h>", ":BufferLineCyclePrev<CR>", { silent = true })
-- map("n", "<A-l>", ":BufferLineMoveNext<CR>", { silent = true })
-- map("n", "<A-h>", ":BufferLineMovePrev<CR>", { silent = true })
-- end,
}