mirror of
https://github.com/neovim/neovim.git
synced 2024-12-28 14:31:13 -07:00
69e9cda5ac
The gchar_cursor() == NUL check is already done in ins_ctrl_o.
ins_esc changes gchar_cursor() so this if block is probably never
entered.
Issue:
Pressing CTRL-O in insert mode at the end of the line and typing
:startinsert moves the cursor 1 column back, when I expect the cursor
to remain at the end of the line
This is a regression from Vim behavior. Since at least Vim version 7.0,
Vim returns you to insert mode at the end of the line.
|
||
---|---|---|
.. | ||
ctrl_o_spec.lua | ||
ctrl_r_spec.lua | ||
last_inserted_spec.lua |