From 6d14d7b5da54fffabfec18b2b09a488d3661d7f9 Mon Sep 17 00:00:00 2001 From: Luc Sinet Date: Mon, 2 Aug 2021 17:19:44 +0200 Subject: [Refactor] Adopt which key mapping style (#1210) * Refactor keymappings to match which-key style * Update confif example + remove redundant way of registering mappings --- lua/core/bufferline.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/core/bufferline.lua') diff --git a/lua/core/bufferline.lua b/lua/core/bufferline.lua index 1957226e..35831d03 100644 --- a/lua/core/bufferline.lua +++ b/lua/core/bufferline.lua @@ -2,8 +2,8 @@ lvim.builtin.bufferline = { keymap = { values = { normal_mode = { - { "", ":BufferNext" }, - { "", ":BufferPrevious" }, + [""] = { ":BufferNext" }, + [""] = { ":BufferPrevious" }, }, }, opts = { -- cgit v1.2.3