On 16/04/11 7:00 PM, Barrie Stott wrote:
I gave the wrong subject! I want a block COMMENT - not a block QUOTE. I'm sorry about that.
I'm pretty sure you can't do it in Vimscript. If your comment is at the end of your file, though, you could put a 'finish' command before it. Otherwise, the previous suggestion of using block-visual mode to insert (with shift-I) or delete (d or x) a " from the beginning of all the lines in the comment is, I think, the way to go. I guess another possible way to avoid problems is to use :insert or :append, and then :undo. But that's hardly elegant. Ben. P.S. This is a general Vim question, not a Mac-specific one, so you may get more/better answers on the vim_use mailing list. -- You received this message from the "vim_mac" 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
