Here it is. Enjoy.
Article Options
Archives by Category
- Freebies (1)
- OS X Workflow (1)
- Personal (2)
- Productivity (1)
- Thoughts (1)
- Web Development (3)
Archives by Year
- Published in: Productivity
- with 5 comments
Quick Tip: Hold the ‘Option’ key in your text editor to be able to select text vertically!
As a web developer I spend a lot of time using a text editor, at least 6 hours a day. I know there are other developers out there who stare at the millions of pixels of letters as well as I do, so I’d like to share one of my favorite workflow tips, vertically selecting text! Normally if you want to select multiple lines of text, say at the end of each line, you would have to select the desired block of text by dragging your mouse horizontally across the screen or by holding the shift key and moving the cursor with arrows or maybe even some other types of shortcuts. How nice would it be if you could select a column of text, rather than going from line to line? Well this is easily done with a simple shortcut in Apple’s very well thought out OS X!
It only takes one simple step, hold down the ‘OPTION’ key and your cursor will magically transform into a cross. Use it to select text any way you want – vertically, horizontally and even diagonally (sort of). For you designers out there, think of it as the rectangle marquee tool in Photoshop.

This works in most (if not all) text editors written in Cocoa on OS X as well as a few other apps. (Sorry it doesn’t work in browsers). This is a very hand if you are a programmer or developer staring at thousands of lines of text every day, maybe this will make your life a little bit easier!
Subscribe to the Notebook RSS Feed
5 people left comments
Marc on November 16, 2009 at 11:42 am wrote:
Hi! Never realised you could do that but I’ve been using these shortcuts for a while now…
Option + Left/Right Arrows = jump to the beginning/end of the current word.
Option + Shift + Left/Right Arrows = select to the beginning/end of the word from current position.
I think there’s loads more combos as well, just paste some text into TextEdit and have fun trying to find them!
Martin on July 10, 2009 at 5:58 am wrote:
That is a brilliant tip. It’s a pity it does not work in Dreamweaver… maybe it’s time to move to TextMate then. Good looking website btw – very good use of whitespace.
casino slots strategy on May 23, 2009 at 6:22 pm wrote:
I was not even aware of this that you could do this.Thanks for such a nice post.
Jamie on October 20, 2008 at 12:27 am wrote:
Cool, never realised it. Thanks! :)
Works in Textmate too.
Phil on August 2, 2008 at 10:09 am wrote:
I never knew you could do this. Apple rocks!!
Share your thoughts