So far there is no native way of moving the cursor up or down a display line in insert mode.
Request
Allow cursor to be moved one display line up or down natively in insert mode. Using either a new command or a new keybind like i_ctrl-g g j, i_ctrl-g g k that can be mapped to.
Alternatives considered
<c-o>gk, it works properly, but it triggers ModeChange and invokes other auto commands.
<cmd>normal gk<cr>, it works most of the time but not when the cursor is on the last char of the line.
So far there is no native way of moving the cursor up or down a display line in insert mode.
Request
Allow cursor to be moved one display line up or down natively in insert mode. Using either a new command or a new keybind like
i_ctrl-g g j,i_ctrl-g g kthat can be mapped to.Alternatives considered
<c-o>gk, it works properly, but it triggers ModeChange and invokes other auto commands.<cmd>normal gk<cr>, it works most of the time but not when the cursor is on the last char of the line.