Yukihiro Nakadaira wrote:

> v_p split line at unexpected place when replacing last character with line
> register.
> 
> Steps to reproduce:
> 
>   $ vim -u NONE
>   iaaa
>   bbb
>   ccc<Esc>ggYj$vp
> 
> Result:
> 
>   1 aaa
>   2 b
>   3 aaa
>   4 b
>   5 ccc
> 
> Expected:
> 
>   1 aaa
>   2 bb
>   3 aaa
>   4
>   5 ccc
> 
> I wrote patch for this problem.  Please check the attached patch.
> 
> With this patch, this command
> 
>   $ vim -u NONE
>   iaaa
>   bbb
>   ccc<Esc>ggYG$v$p
> 
> results
> 
>   1 aaa
>   2 bbb
>   3 cc
>   4 aaa
>   5 [empty line]
> 
> I'm not sure the empty line should be appended or not when newline is
> selected
> at last line.

Thanks, I'll put it on the todo list.


-- 
hundred-and-one symptoms of being an internet addict:
71. You wonder how people walk

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui