Re: A block-quote desired

2011-04-20 Thread ivar vasara
The TComment git source repository is here - https://github.com/tomtom/tcomment_vim (This way you can use pathogen or added it to your Janus Rakefile) On Wed, Apr 20, 2011 at 10:15 AM, Barrie Stott wrote: > > On 20 Apr 2011, at 17:52, Steve Huff wrote: > >> >> On Apr 16, 2011, at 4:45 AM, Barrie

Re: A block-quote desired

2011-04-20 Thread Charles Campbell
Barrie Stott wrote: On 20 Apr 2011, at 17:52, Steve Huff wrote: On Apr 16, 2011, at 4:45 AM, Barrie Stott wrote: If someone has a block quote mechanism they can share that would be wonderful. i've gotten tons of mileage out of TComment (http://www.vim.org/scripts/script.p

Re: A block-quote desired

2011-04-20 Thread Tim Gray
On Apr 20, 2011 at 12:52 PM -0400, Steve Huff wrote: i've gotten tons of mileage out of TComment (http://www.vim.org/scripts/script.php?script_id=1173). Thanks for mentioning this plugin. I like it more than Nerd commenter and switched over. pgp93D6THat9S.pgp Description: PGP signature

Re: A block-quote desired

2011-04-20 Thread Barrie Stott
On 20 Apr 2011, at 17:52, Steve Huff wrote: > > On Apr 16, 2011, at 4:45 AM, Barrie Stott wrote: > >> If someone has a block quote mechanism they can share that would be >> wonderful. > > > i've gotten tons of mileage out of TComment > (http://www.vim.org/scripts/script.php?script_id=1173).

Re: A block-quote desired

2011-04-20 Thread Steve Huff
On Apr 16, 2011, at 4:45 AM, Barrie Stott wrote: > If someone has a block quote mechanism they can share that would be wonderful. i've gotten tons of mileage out of TComment (http://www.vim.org/scripts/script.php?script_id=1173). -steve -- http://five.sentenc.es PGP 8477B706 (A92A 1F7E 6D76

Re: A block-quote desired

2011-04-18 Thread dacresni
http://www.vim.org/scripts/script.php?script_id=213 there it is, it has a menu for snipits. -- 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

Re: A block-quote desired

2011-04-18 Thread dacresni
i remember there being a code snipit menu for Gvim which would work on macvim. look up vim IDE perhaps throw bash into your search -- 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

Re: A block-quote desired

2011-04-16 Thread Christopher Stone
On Apr 16, 2011, at 10:58 AM, Barrie Stott wrote: > The problem is not with vim; I think it's an excellent program and have used > it for many years. The problem is with me; some people have difficulty > remembering how to do something when they haven't done it for a few days and > I am now one

Re: A block-quote desired

2011-04-16 Thread Tim Gray
On Apr 16, 2011, at 10:58 AM, Barrie Stott wrote: > The problem is not with vim; I think it's an excellent program and have used > it for many years. The problem is with me; some people have difficulty > remembering how to do something when they haven't done it for a few days and > I am now one

Re: A block-quote desired

2011-04-16 Thread Barrie Stott
On 16 Apr 2011, at 15:14, Tim Gray wrote: > On Apr 16, 2011, at 9:46 AM, Barrie Stott wrote: >>> 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. >>

Re: A block-quote desired

2011-04-16 Thread Tim Gray
On Apr 16, 2011, at 9:46 AM, Barrie Stott wrote: >> 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. > > In principle I'd agree but it would then have

Re: A block-quote desired

2011-04-16 Thread Barrie Stott
On 16 Apr 2011, at 14:07, Ben Schmidt wrote: > 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. Many thanks for the reply. I can almost do it but not quit

Re: A block-quote desired

2011-04-16 Thread Ben Schmidt
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 pr

Re: A block-quote desired

2011-04-16 Thread Barrie Stott
I gave the wrong subject! I want a block COMMENT - not a block QUOTE. I'm sorry about that. Barrie. -- 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

Re: A block-quote desired

2011-04-16 Thread Kyle Lippincott
You want to insert text at the beginning of each line? Easiest way (for me to remember, at least) is to hit shift-v, highlight the lines, ctrl-v to convert to a block visual mode in the 0th column, shift-i to start insert, hit " and then esc. You can play with some of those steps like using only

A block-quote desired

2011-04-16 Thread Barrie Stott
I would like a block quote to use in files like .gvimrc so that I'm not forever typing " at the start of each line; if I justify the line they go all over the place. I tried using the following: if 0 == 1 ... endif Unfortunately, this gives errors when sourcing the file