fix: insert mode nav shortcut

This commit is contained in:
guoliang 2022-04-10 20:10:47 +08:00 committed by siduck
parent 3585ae3dfd
commit 3d78ef3474
2 changed files with 4 additions and 4 deletions

View file

@ -184,8 +184,8 @@ M.mappings = {
backward = "<C-h>", backward = "<C-h>",
end_of_line = "<C-e>", end_of_line = "<C-e>",
forward = "<C-l>", forward = "<C-l>",
next_line = "<C-k>", next_line = "<C-j>",
prev_line = "<C-j>", prev_line = "<C-k>",
beginning_of_line = "<C-a>", beginning_of_line = "<C-a>",
}, },

View file

@ -62,8 +62,8 @@ M.misc = function()
map("i", inav.backward, "<Left>") map("i", inav.backward, "<Left>")
map("i", inav.end_of_line, "<End>") map("i", inav.end_of_line, "<End>")
map("i", inav.forward, "<Right>") map("i", inav.forward, "<Right>")
map("i", inav.next_line, "<Up>") map("i", inav.next_line, "<Down>")
map("i", inav.prev_line, "<Down>") map("i", inav.prev_line, "<Up>")
map("i", inav.beginning_of_line, "<ESC>^i") map("i", inav.beginning_of_line, "<ESC>^i")
end end