do not block moving around in the buffer.
This commit is contained in:
parent
3e04580e74
commit
4761e3f2a5
13
lua/tree.lua
13
lua/tree.lua
@ -216,19 +216,6 @@ local function set_mappings()
|
|||||||
nowait = true, noremap = true, silent = true
|
nowait = true, noremap = true, silent = true
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
local maps = {
|
|
||||||
j = 'j$B',
|
|
||||||
k = 'k$B',
|
|
||||||
l = '',
|
|
||||||
h = ''
|
|
||||||
}
|
|
||||||
|
|
||||||
for k,v in pairs(maps) do
|
|
||||||
api.nvim_buf_set_keymap(buf, 'n', k, v, {
|
|
||||||
nowait = true, noremap = true, silent = true
|
|
||||||
})
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local function toggle()
|
local function toggle()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user