[CrackMonkey] emacs vs. vim

Misha Nasledov misha at nasledov.com
Tue Apr 24 00:44:41 PDT 2001


On Tue, 24 Apr 2001, Aaron Lehmann wrote:

> 	" ^* characters are representative of control characters of course
> 	autocmd BufRead *.c,*.h map gc :s/[^ \t]//gc^Mqi/* ^[A */^[0j
> 	autocmd BufRead *.c,*.h map ^U :set nows^M$?\/\* *^M:s,/\* *,,^M0/ \=\*\/^M:s, \=\*/,,^M:set ws^Mj
> 
> (I just indented that with >}j ! beaujolais!)
> 
> I challenged myself to write a macro to insert a C comment, and one to
> uncomment the current one under the cursor.

What? You want a fucking toffee or something? 

#!/usr/bin/perl
print "Hello World!\n";

Look at me! I'm Aaron Lehmann! I can fucking write a Hello World
program in Perl! Aren't I so special!?

------------------------------
Misha Nasledov
misha at nasledov.com
http://www.nasledov.com/misha/
------------------------------






More information about the Crackmonkey mailing list