Changed mappings to move between windows/terminals with Ctrl+h,j,k,l
This commit is contained in:
parent
28015f639c
commit
7ddd394172
@ -143,6 +143,11 @@ M.mappings.plugin = {
|
|||||||
bufferline = {
|
bufferline = {
|
||||||
next_buffer = "<TAB>", -- next buffer
|
next_buffer = "<TAB>", -- next buffer
|
||||||
prev_buffer = "<S-Tab>", -- previous buffer
|
prev_buffer = "<S-Tab>", -- previous buffer
|
||||||
|
--better window movement
|
||||||
|
moveLeft = "<C-h>",
|
||||||
|
moveRight = "<C-l>",
|
||||||
|
moveUp = "<C-k>",
|
||||||
|
moveDown = "<C-j>",
|
||||||
},
|
},
|
||||||
chadsheet = {
|
chadsheet = {
|
||||||
default_keys = "<leader>dk",
|
default_keys = "<leader>dk",
|
||||||
|
@ -129,6 +129,10 @@ M.bufferline = function()
|
|||||||
|
|
||||||
map("n", m.next_buffer, ":BufferLineCycleNext <CR>")
|
map("n", m.next_buffer, ":BufferLineCycleNext <CR>")
|
||||||
map("n", m.prev_buffer, ":BufferLineCyclePrev <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
|
end
|
||||||
|
|
||||||
M.chadsheet = function()
|
M.chadsheet = function()
|
||||||
|
Loading…
Reference in New Issue
Block a user