On Mi, 16 Sep 2015, Gary Johnson wrote: > On 2015-09-16, 'Jürgen Krämer' via vim_use wrote: > > 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. > > Good suggestion. I wasn't aware of that difference between "I" and > "A".
That is mentioned briefly in the help (of course ;)): ,---- | Note: "I" and "A" behave differently for lines that don't extend into | the selected block. This was done intentionally, so that you can do it | the way you want. `---- > > I would have thought that setting ve=all would work, too, but it > doesn't. It's OK with me that it doesn't, but it's not what I > expected. That was my feeling as well. Best, Christian -- Schwitzt der Bauer unterm Arm, wird der Sommer wieder warm. -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
