diff --git a/lua/chadrc.lua b/lua/chadrc.lua index c8fdfd7..f730f8e 100644 --- a/lua/chadrc.lua +++ b/lua/chadrc.lua @@ -143,6 +143,11 @@ M.mappings.plugin = { bufferline = { next_buffer = "", -- next buffer prev_buffer = "", -- previous buffer + --better window movement + moveLeft = "", + moveRight = "", + moveUp = "", + moveDown = "", }, chadsheet = { default_keys = "dk", diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index 6f58bdb..aa941ce 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -129,6 +129,10 @@ M.bufferline = function() map("n", m.next_buffer, ":BufferLineCycleNext ") map("n", m.prev_buffer, ":BufferLineCyclePrev ") + map("n", m.moveLeft, "h") + map("n", m.moveRight, "l") + map("n", m.moveUp, "k") + map("n", m.moveDown, "j") end M.chadsheet = function()