Tip #816: JAVH: Just another VIM Hacker
tip karma |
Rating 24/10, Viewed by 1029
|
created: |
|
November 5, 2004 16:38 |
|
complexity: |
|
basic |
author: |
|
zzapper |
|
as of Vim: |
|
5.7 |
Perl has it's JAPH Just Another Perl Hacker (a short script that produces the output 'Just another Perl hacker' (Just Google for it)) I thought one day I'd try to something similar with VIM , the trick being to make it as obscure as possible:-
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
Somebody (sorry I forget who, possibly Peppe) did this one
:s(.*(rekcaH iV rehtonA tsuJ(|t.|s).$)&&)|-s'.'s,\\(.\\)\\(.\\)\\(\\2.*\\),\\2\\3\\1,|'g|s=[^|]*|$=s,.,,=|d a|@a
Another voyager in cyberspace created the following
gvim -c "exec \"normal itYNQ#v'Z#ABG#GUR#BAYL#BAR\"|%s/#/ /g|normal ggVGg?ggVG~"
So what's the point:-
1) Well it attracts a few more people to VIM (I use it as a signature)
2) It sharpens your Vim skills,(they can never be sharp enough)
3) It's fun
So over to you! can you do any better!
<<Getting vim to work with cvs commit |
Non-blinking block cursor in the linux console >>
Additional Notes
|