Wednesday, September 16, 2015

Re: Visual blcok: Force insert ("I") to insert even in rows that have no characters

Hi,

Paul schrieb am 16.09.2015 um 15:42:
> When coding, I often press ctrl-V, highlight a column of text of a certain
> height, then press "I" to insert (say) a comment delimiter or a line
> continuation flag character. This doesn't quite work on short rows of text
> that end before the column that I'm highlighting. I would like vim to
> append the required spaces to permit the insertion. Is there a switch for
> this?

use "A" instead of "I". "A" will first pad short lines with white space
to reach the required length.

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: