LunarVim.LunarVim/lua/core/bufferline.lua
Luc Sinet 6d14d7b5da
[Refactor] Adopt which key mapping style (#1210)
* Refactor keymappings to match which-key style

* Update confif example + remove redundant way of registering mappings
2021-08-02 11:19:44 -04:00

16 lines
393 B
Lua

lvim.builtin.bufferline = {
keymap = {
values = {
normal_mode = {
["<S-l>"] = { ":BufferNext<CR>" },
["<S-h>"] = { ":BufferPrevious<CR>" },
},
},
opts = {
normal_mode = { noremap = true, silent = true },
},
},
}
local keymap = require "utils.keymap"
keymap.load(lvim.builtin.bufferline.keymap.values, lvim.builtin.bufferline.keymap.opts)