<div dir="ltr"><div>Going from memory but sounds right...<br><br>Position your cursor on the first character of the first line to comment out. Press 'v' to go into visual character mode. Position your cursor on the first character of the last line to comment out. Press 'I' to enter insert mode. Press '#' followed by 'ESC'. Done.<br>

</div></div><div class="gmail_extra"><br clear="all"><div>Matt</div>
<br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 10:29 PM, Tommy Butler <span dir="ltr"><<a href="mailto:masterbucket@internetalias.net" target="_blank">masterbucket@internetalias.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Yes, that is definitely handy.<br>
<br>
But is there some easier way to do block commenting that doesn't consume two bookmarks? I find myself doing it based on line numbers, but it hasn't irritated me enough to look up a better way yet...<br>
<br>
-- <br>
Tommy Butler<br><br><div class="gmail_quote">kevin <<a href="mailto:kbrannen@pwhome.com" target="_blank">kbrannen@pwhome.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<pre style="white-space:pre-wrap;word-wrap:break-word;font-family:sans-serif;margin-top:0px"><div class="im">On 02/21/2013 05:30 PM, Tommy Butler wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 1ex 0.8ex;border-left:1px solid #729fcf;padding-left:1ex">

What does your .vimrc look like?  I always like to see what goodies<br>there are to be found in the .vimrc files of fellow Perl hackers :-D</blockquote><br>Something I've done for a long time in my .vimrc and find useful is:<br>

<br>map ,c :'a,'bs/^/#/<br>map ,u :'a,'bs/^#//<br><br>Then I can mark a range of lines with 'a and 'b, then hit ,c and the <br>range is commented out. Similarly, ,u uncomments a range of lines.<br>

<br>Kevin<br><hr><br></div><div class="im">Dfw-pm mailing list<br><a href="mailto:Dfw-pm@pm.org" target="_blank">Dfw-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/dfw-pm" target="_blank">http://mail.pm.org/mailman/listinfo/dfw-pm</a><br>

</div></pre></blockquote></div><span class="HOEnZb"><font color="#888888"><br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.</font></span></div></div><br>_______________________________________________<br>
Dfw-pm mailing list<br>
<a href="mailto:Dfw-pm@pm.org">Dfw-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/dfw-pm" target="_blank">http://mail.pm.org/mailman/listinfo/dfw-pm</a><br>
<br></blockquote></div><br></div>