mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 15:19:26 +02:00
Make keymaps of bufferline and compe configurable (#1205)
This commit is contained in:
parent
3af0f98887
commit
d5557f56c8
2 changed files with 34 additions and 13 deletions
|
@ -1,2 +1,16 @@
|
|||
vim.api.nvim_set_keymap("n", "<S-l>", ":BufferNext<CR>", { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap("n", "<S-h>", ":BufferPrevious<CR>", { noremap = true, silent = true })
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue