(Useful) Stupid Vim Tricks?
haroldag writes "I thoroughly enjoyed the recent post about Unix tricks, so I ask Slashdot vim users, what's out there? :Sex, :b#, marks, ctags. Any tricks worth sharing?"
← Back to Stories (view on slashdot.org)
:r! emacs /I partly kid I like Vi
500 dollar reward for tip(s) leading to the arrest of the person(s) who stole my sig.
You're asking on the wrong site. No one on Slashdot has ever tried it.
I'll tell you when you're older.
:q
This guy's the limit!
is itself a stupid trick. Emacs sucks too. Please welcome you to 21 century - use textedit!
No thank you. edlin works just great for me.
Reply to That ||
I typed :Sex and it opened up a HUGE list of folders choc full of porn!
Young whippersnappers. When I was "at a young age", it was called vi, and it didn't have any of this fruity syntax highlighting, and if you wanted to navigate around a document you had to use h,j,k,l, not those hand-holding arrow keys.
Remember the old dig at emacs, "Eight Megs and Constantly Swapping?" Well back then, an 8 MB program actually did mean constant swapping!
I've been in this business for too damn long.
Stupid vi tricks? (Score:2)
by argent (18001)
I believe you and your fancy VIM are on this man's lawn.
Not really a vim trick, but I always liked to create a file in the / directory named README. The file just contained one line: "ERROR: can not open file README" When someone cats it, they get the error message. Pretty cute until they vi it and figure it out.
If only my parents had told me earlier.
molmod.com - computing tips from a molecular modeling
How else am I supposed to get anything done on Windows?
* leaves himself a note to get cygwin installed on the home system
How can I install that on Ubuntu?
VMware.
thegodmovie.com - watch it
He said an editor, not an operating system.
Of all major operating systems, UNIX is the only one originally meant for gaming.