Christian Brabandt wrote:
> Bram,
> when using visual block_mode and replacing the selected block with=20
> <Enter>, Vim currently does not break the line, but inserts the=20
> linebreak literally, e.g. when doing this:
>
> 10o12345<ESC>9k02l<C-V>9jr<CR> you are left with:
> 12345
> 12345
> 12345
> 12345
> 12345
> 12345
> 12345
> 12345
> 12345
> 12345
>
> 12^M45
> 12^M45
> 12^M45
> 12^M45
> 12^M45
> 12^M45
> 12^M45
> 12^M45
> 12^M45
> 12^M45
>
> instead of
> 12
> 45
> 12
> 45
> [...]
>
> Attached patch fixes this and adds a test.
Thanks. I haven't tried it yet, but does it allow using CTRL-V <CR>
to insert a literal CR as before?
--
ARTHUR: Listen, old crone! Unless you tell us where we can buy a shrubbery,
my friend and I will ... we will say "Ni!"
CRONE: Do your worst!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.