Changed mappings to move between windows/terminals with Ctrl+h,j,k,l

This commit is contained in:
JoakoV3 2021-08-27 02:50:07 -03:00 committed by siduck76
parent 28015f639c
commit 7ddd394172
2 changed files with 9 additions and 0 deletions

View File

@ -143,6 +143,11 @@ M.mappings.plugin = {
bufferline = {
next_buffer = "<TAB>", -- next buffer
prev_buffer = "<S-Tab>", -- previous buffer
--better window movement
moveLeft = "<C-h>",
moveRight = "<C-l>",
moveUp = "<C-k>",
moveDown = "<C-j>",
},
chadsheet = {
default_keys = "<leader>dk",

View File

@ -129,6 +129,10 @@ M.bufferline = function()
map("n", m.next_buffer, ":BufferLineCycleNext <CR>")
map("n", m.prev_buffer, ":BufferLineCyclePrev <CR>")
map("n", m.moveLeft, "<C-w>h")
map("n", m.moveRight, "<C-w>l")
map("n", m.moveUp, "<C-w>k")
map("n", m.moveDown, "<C-w>j")
end
M.chadsheet = function()