Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 57 by [email protected]: After creating a new line using <CR> <C-o> moves one character forward
http://code.google.com/p/vim/issues/detail?id=57

What steps will reproduce the problem?
After creating a new line using <CR> with comment leader inserting enabled
<C-o> moves one character forward:
    vim -u NONE --cmd 'set formatoptions+=r' \
                -s <(<<< $'i# abcdef\e2hi\n\C-od0\eo# abcdef\e2hi\C-od0\e')
. Replace “\C-o” with actual key or “\xXX” notation in bash and also replace “<<<” with “echo”.

What is the expected output? What do you see instead?
Expected:
    # abc
    def
    def
Actual result:
    # abc
    ef
    def

What version of the product are you using? On what operating system?
vim-7.3.471, amd64, huge version with perl, tcl, lua, ruby and python3 support.

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui