[Refactor] Adopt which key mapping style (#1210)

* Refactor keymappings to match which-key style

* Update confif example + remove redundant way of registering mappings
This commit is contained in:
Luc Sinet 2021-08-02 17:19:44 +02:00 committed by GitHub
parent 8e88bf5258
commit 6d14d7b5da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 70 additions and 84 deletions

View file

@ -2,8 +2,8 @@ lvim.builtin.bufferline = {
keymap = {
values = {
normal_mode = {
{ "<S-l>", ":BufferNext<CR>" },
{ "<S-h>", ":BufferPrevious<CR>" },
["<S-l>"] = { ":BufferNext<CR>" },
["<S-h>"] = { ":BufferPrevious<CR>" },
},
},
opts = {