neovim/test/functional
d10n 69e9cda5ac i_CTRL-O: fix :startinsert at end of line (#6963)
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.

091e7d033c is the first bad neovim commit

Steps to reproduce using `nvim -u NORC`:
`aaaa<C-o>:startinsert<CR>`

Fixes #6962
2017-07-08 12:50:58 +02:00
..
api functests: Test how spaces appear in get_keymap output 2017-07-02 20:08:00 +03:00
autocmd jobstop/process_stop: send SIGTERM directly 2017-07-07 13:11:20 +02:00
clipboard functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
cmdline cmdline: CTRL-R: Omit trailing <CR>. 2017-02-18 23:24:35 +01:00
core functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
eval test: handle single-char hostname (#6939) 2017-07-01 18:48:17 +02:00
ex_cmds functests: Ensure different SIDs on successive source() calls 2017-07-04 15:15:23 +03:00
fixtures *: Fix all V641 errors 2017-05-20 03:25:22 +03:00
insert i_CTRL-O: fix :startinsert at end of line (#6963) 2017-07-08 12:50:58 +02:00
legacy vim-patch:7.4.2320 2017-06-26 22:08:13 -04:00
lua lua: Use automatic determining of suffixes only for package.cpath 2017-05-28 23:55:51 +03:00
normal fold: foldMoveRange(): fix :move bug #6534 2017-04-17 04:45:55 +02:00
options log: Fall back to CWD-relative .nvimlog 2017-06-07 00:27:26 +02:00
plugin test: Fix and add cases for unnamed register 2017-05-31 13:31:05 -04:00
provider functests: Replace check_provider -> missing_provider with err report 2017-05-13 03:06:50 +03:00
shada shada: Make sure that code does not attempt to read too long items 2017-07-04 15:41:59 +03:00
spell test/rmdir(): Remove readonly attr on Windows. 2017-04-10 22:59:30 +02:00
terminal test: tui_spec: Remove unused is_linux variable 2017-07-07 10:07:53 -04:00
ui functests: Fix screen.lua supplying dedent additional argument 2017-06-21 10:58:47 +03:00
viml functests: Check that minimal distance between commands works 2017-06-21 10:58:47 +03:00
helpers.lua Merge #6958 from ZyX-I/fix-6957 2017-07-04 21:56:05 +02:00
preload.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00