summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/core/bufferline.lua
blob: 63066143945efaaac2580a59f57ca62edbb3f3e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local M = {}

M.config = function()
  options.builtin.bufferline = {
    active = true,
    keymap = {
      normal_mode = {
        ["<S-l>"] = ":BufferNext<CR>",
        ["<S-h>"] = ":BufferPrevious<CR>",
      },
    },
  }
end

M.setup = function()
  local keymap = require "keymappings"
  keymap.append_to_defaults(options.builtin.bufferline.keymap)
end

return M