43 Folders

43 Folders feed subscription icon - Shiny! Drowning in email? Try Inbox Zero to learn sane tips for dealing with high-volume email. And don’t miss the free Inbox Zero video. »

”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.

Remainders: Vim, The One-Fork Rule, dashes, and ETech, ho!

  • Vim: The Journey Begins - It’s official. I’m learning Vim, one of the storied UNIX text editors that so many geeks live in. My copy of Learning the vi Editor arrived last week, and I’ve been spending at least an hour each night getting through the basics. I can definitely see why this is so popular with people (even though I’m having a heckuva time un-learning five years of what I now realize are Emacs key bindings). It’s totally configurable and scriptable, and once you get the hang of switching between command and insert modes, it’s just faster than hell. If you want to join in with me for the long walk, ala Oprah’s Book Club, feel free. I’ll be posting on my progress periodically, and have been bookmarking good vi/Vim links to help us out. Also, I do recommend grabbing the Vim carbon app, since it behaves and interacts more like a Mac program and is much easier to customize and use. (Vim studs in the house? Got a good trick I need to know? Dish!)
  • Plan before you buy - I keep running lists of all the features and geegaws that I know I’ll want in the next version of a costly product I’ll need to buy someday—from little stuff like a mobile phone or TV to bigger stuff like a car or a house. Capturing these ideas as they occur to you over 1-5 years is a lot less stressful than having to pore manically over a bunch of spec sheets on the day your cell phone falls in the toilet.
  • The One-Fork Rule - At one point in my third year of college, my housemates and I felt entropy’s hot breath on the back of our necks. As the dishwasher overflowed with week-old plates and the crisper teemed with blue and brown goo, we acknowledged it was time for a radical change. Thus, Richard, Jake, and I made a pact to instantiate what we called “The One-Fork Rule.” Each of us was issued one and only one of each eating tool: cutlery, plate, bowl, glass, etc. We were to bond with our tools like an infantryman with his rifle. If your fork was dirty when it was time to eat, you were to clean it. You were not to breach the sacred seal of the duct-tape-sealed boxes containing all the additional forks and plates. Like all emergency measures “The One-Fork Rule” passed in time, but I can tell you, it really works if you’re ever feeling overwhelmed by the crufty multiples in your kitchen—or elsewhere your life. Consider trying it for a week or so whenever you need to simplify or just get it together.
  • Research dashes - I keep a plaintext file with a long-ass list of stuff to learn, fix, or improve on my computer. Stuff like “learn Perl,” “find out why Mail crashes on CTRL-click,” or “research cheap external hard drives.” These kinds of items represent very low-pressure and low-priority on my radar screen, but I do like to make progress on a few of them from time to time. Try scheduling “a dash”, 2 to 4 hours, twice a month for researching and conquering little stuff that’s been driving you nuts. This not only gives you a chance to review, update, and solve the stuff that’s probably stealing seconds from every day, but you can also start to watch for interesting patterns that might indicate bigger problems and opportunities (“Whoa: time to get a new laptop”).
  • Mass-mailing Customer Service - I sometimes fantasize that I can breach the gates of “Customer Service” at a given company by sending regular old email to several logical addresses. It doesn’t always work—I mean, gracious me, why would you ever want dissatisfied customers to contact you—but I wanted a way to quickly try it without a lot of hassle.

    Fellow TextMate fans can make the following bit into a Snippet and assign it a key command.

    support@${1:`echo $TM_SELECTED_TEXT`}, help@${1:`echo $TM_SELECTED_TEXT`}, customerservice@${1:`echo $TM_SELECTED_TEXT`}, web@${1:`echo $TM_SELECTED_TEXT`}, webhelp@${1:`echo $TM_SELECTED_TEXT`}$0

    In a blank TM document, type the domain of the company (“example.com”), select it, then apply the Snippet via menu or key command to quickly generate a handy, comma-delimited list of potential help sources.

  • General ETech slowdown - Things have gotten a bit busy around here with ETech and a few other pet projects coming to the fore, so I’ve decided to hold off on a couple announcements until next week; sorry to be a tease. Check back next Monday (I hope). Since I’ll be pretty heads-down on all things ETech (and post-ETech catchup) over the next week, the volume here will likely stay fairly quiet until then. Still, I’ll probably be posting occasionally here, and watch for ETech related stuff from me on del.icio.us (link | rss) and Flickr (link | rss). Like my friends currently at SxSW, I’ll probably be posting lots of pictures of pleasant-looking people you don’t know eating and sitting in chairs.

Thanks, have a great week, and if you see me in San Diego, please do say hi, and introduce yourself.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Bryan Gucwa's picture

Congratulations on the vim decision!...

Congratulations on the vim decision! While the O’Reilly book (Learning the vi editor) is a good one for the bare basics, there are GREAT docs on the www.vim.org website (just look for the Documentation link on the main page).

The complete vim help is available as a PDF or in HTML format - it’s well-written, comprehensive, and very easy to learn from. IMHO, much much easier than the documentation that comes with emacs.

There’s an online and downloadable version of what’s called “The VIM book”, which is handy as well, but it’s based on vim 5, I believe, Still, it’s useful and begins with a very good tutorial section. On about page 527 is a multi-page quick reference section, which is handy to print out.

Of course, the best way to take the plunge is to run vimtutor from the command line. It takes a “learning by doing” approach and it’s very effective. Highly recommended.

Then you can check out The Vim Outliner (TVO), or an alternative, VimOutliner, which are plugins for outlining. At this point, you’ll get addicted and start scrounging around the vim scripts and tips database on the website…

Have lots of fun! It’s the best text editor out there (ducking from the future flames of emacs users…)

htom's picture

vi/vim and less are the...

vi/vim and less are the power tools for those who know how to type. I was never able to get into Escape Meta Alt Control Shift.

Merlin Mann's picture

Thanks for this Bryan. Super-helpful! Although...

Thanks for this Bryan. Super-helpful!

Although there’s no way to completely avoid the inevitable “Great War of the Text Editors” headed for this topic, I’ll just pointlessly say that I also have every intention of learning Emacs too! I promise. See? I even have the book.

I would say that this never-ending battle will be an exxxxxxcellent topic to take to the Google Group thread I just created.

And thus, I will actively discourage text editor duelling in this particular alley of Verona. Please.

Ben's picture

Not trying to provoke a...

Not trying to provoke a fued here, but I’m really eager to hear your thoughts about how learning vim differs from learning emacs. I started learning GNU Emacs, found myself wasting too much time on the learning curve, and went back to using BBEdit. I’ve considered trying out Vim, but I’m not sure it would end up any differently.

Merlin Mann's picture

Ben: My decision-making was fractured...

Ben: My decision-making was fractured and personal, because they both look terrific and very much worth learning. I went with Vim because based on talking to people and reading up on both, the learning curve was a bit less steep for Vim and it seemed to offer more immediate short term benefits for writing (as opposed to programming, etc.), which is how I will use it for now. Also, I just know more people who are using vi, so my tech support circle was greater there. :)

I have a very long list of things I still find baffling (like how to get ispell working more like auto-spell check in OS X), but I’m determined to stick with it til everything clicks.

My sense is, from talking to a lot of people about this, that learning either will eventually pay huge benefits for people who spend a lot of time doing anything with text. There are some paradigmatic bad habits that GUI editors encourage, and either of these editors really forces you to rethink text editing as much more than just a hobbled version of Microsoft Word or Front Page. The automation, scripting, shortcuts and endless benefits of shell manipulation come together in very compelling ways in both apps.

spideylinux's picture

The thing I like best...

The thing I like best about vi is that I can open a file, do all that I want and never reach for the mouse. When you are editing lots of text files (html, scripts, etc.) like I do, it saves a lot of time.

Now I’m not an Emacs pro, but I’m sure someone who is can acheive similar success. I have the Emacs book on my shelf, but I’ve never really used it since I know vi so well.

Bryan Gucwa's picture

Didn't even remotely desire the...

Didn’t even remotely desire the potential flamewar a vi vs emacs comparison can provoke :-)

However, it’s very true that once one settles on a “power” text editor like vim or emacs, there’s no looking back. It’s like learning how to play guitar - easy to pick up and strum chords, takes a lifetime to master.

I have played around with emacs - its outlining mode is really powerful. But with TVO (and I guess VimOutliner), vim has a similar capability.

(By the way, Merlin, I met you at O’Reilly’s Mac OS X conference, and we spoke after your joint revelation of Mac power tools with Danny. Good to be speaking with you again!)

Douglas McInnes's picture

Once you get the hang...

Once you get the hang of it, you will LOVE Vim. The best thing I learned is the * command: It searches for the next occurrence of the word under the cursor. Press n to go to the next word or N to go to the previous. Very useful!

does the same thing, only backwards.

Brian Meidell's picture

Dammit, I was going to...

Dammit, I was going to write the * tip :)

Then here’s another one: :SEx will split the window and give you a file browser

nalenb's picture

Wow, I had just added...

Wow, I had just added a NextAction to my list to research a good text editor for Windows so I can edit stuff on Mac & Windows in plain text (Notepad mangles the line endings). I log in and find this entry, I never even thought of vi, just kind of skipped my processing. So I bought the book at lunch today to do the play along at home game :-)

About Merlin Mann

Merlin Mann's picture

Bio

Merlin Mann is an independent writer, speaker, and broadcaster. He’s best known for being the guy who started the website you’re reading right now. He lives in San Francisco, does lots of public speaking, and helps make cool things like You Look Nice Today. Also? He looks like this, answers questions, and has something like a life.

The best thing Merlin’s ever written is a short essay called, “Better.”

 
EXPLORE 43Folders THE GOOD STUFF

An Oblique Strategy:
Distorting time


STAY IN THE LOOP:

Subscribe with Google Reader

Subscribe on Netvibes

Add to Technorati Favorites

Subscribe on Pageflakes

Add RSS feed

The Podcast Feed

Inbox Zero

The original 43 Folders series looking at the skills, tools, and attitude needed to empty your email inbox — and then keep it that way. Don’t miss the free video of Merlin’s Inbox Zero presentation.

Making Time

3-part series on attention management for artists and makers. Read Bad Correspondence, The Job You Think You Have, and One Clear Line.