Ask HN: tips for working with Mac OS X without using the mouse? (RSI)
I noticed that avoiding the mouse is very useful to lessen the effects of RSI.
Do you have tips (useful tools, hints, ...) on how to avoid the mouse for almost all tasks on Mac OS X (I'm a developer, most of the day) ?
108 comments
[ 3.5 ms ] story [ 158 ms ] threadhttp://www.mizage.com/divvy/
Otherwise, consider getting a trackpad / trackball for when you have to use the mouse. Or even using your mouse with your left hand (my brother does this).
I already switch hand from times to times and it helps, too.
http://store.razerzone.com/store/razerusa/en_US/pd/productID...
http://irradiatedsoftware.com/sizeup/
And under Keyboard -> Keyboard Shortcuts make sure Full Keyboard Access is on 'All Controls' so you can focus/select buttons with tab.
Also, make that useless Caps Lock key into Ctrl :)
Ctrl+F2 = Access Menu bar Ctrl+F3 = Access Dock
I will give someone 1 american dollar if they can tell me how to get menu bar selections to wrap back around to the top when I get to the bottom of the menu.
EDIT - the magic mouse has been fantastic for eliminating the need for precise clicking when scrolling - that swipe to scroll feature is amazing, especially in tabular apps like Sequel Pro and Excel.
For your question, I just noticed you can use Page Up/Down to go to the top/bottom of the menu.
Is there a way to select which functions keys should work as function keys and which one work as the Apple special keys (Exposé, volume control…)? The reason I ask is that I always found it inconvenient to use shortcuts like Ctrl+F2 because I have to move my hand much more to get to the fn key. But at the same time, Exposé is too useful to be left behind it.
Any suggestions for a better trackball or did all innovation cease 10 years ago?
It's worth noting that the Apple trackpad is not only way bigger than a laptop's touchpad, it's also angled so you're not resting your hand on its edge. Also, if you've never used an Apple touchpad on a recent Macbook/Pro (the ones that are glass instead of plastic), you'll probably be surprised at how good the accuracy/tracking. They're much better quality than the Synaptics touchpads that are common in PCs.
My other preferred device is a thumb-ball trackball. I have a logitech trackman, and the discontinued one from Microsoft. I find those much more comfortable, if a bit problematic for high precision. I just wish I could get a bluetooth one.
The ball's diameter allows pinpoint accuracy when needed, the weight allows a flick with momentum to carry the cursor across two 30" screens, the scroll wheel is under your ring finger for simultaneous use.
That said, the recent magic trackpad is growing on me.
http://ufridman.org/mouseclick.html
Not the same as mouse-less operation but a lot less strain than reaching for and moving a mouse.
First it starts with the setup. At work I have an external monitor and keyboard. I keep my MBP to the right so I can use the touch pad here and there when I can't use the keyboard for certain things.
Here are some tips/programs/plugins I use:
1) Vim (not macvim) and screen - This dynamic duo is the greatest invention. I recommend it to anyone who has the time to learn. Once you do, you'll never go back.
2) Vimperator - Firefox plugin - This one has changed my browsing experience for the better. Once you learn all the commands you'll be flying through pages.
3) Remap your CAPSLOCK key to ESC - Once you start using vim and vimperator, the esc key becomes more useful. I remapped my CASPLOCK key to ESC so its quicker to reach. I used the program called PCKeyboardHack.
4) Learn your keyboard shortcuts.
6) Try to replace programs you use often with console versions. For example I dont use any gui programs to access databases. Diffs/text search/file searches are all done through command line.
7) Spotlight - I don't use Dock, sometimes I forget its even there. I would disable it if I could.
8) pbcopy - command line program that you can use to copy to your gui clipboard. Try piping contents of a file to it. Becomes very handy.
Most of my day I spend using Vimperator and Terminal. So it's easier for me to not have to use a mouse.
If you listen to music while working, I also find Coversutra http://www.sophiestication.com/coversutra/ or Bowtie http://bowtieapp.com/ very useful.
After going back and forth between Quicksilver and Launchbar for a while, I eventually settled on Launchbar because I found it to be a bit faster. I think Quicksilver is more powerful, but I never really used the additional capabilities so it ended up being a pretty easy choice for me.
Even after Spotlight was added to OS X, I stuck with Launchbar because it takes a few less keystrokes for many tasks and it has search templates (so searching Google, a dictionary, or a thesaurus requires only a few keystrokes). Quicksilver can also do something similar, I'm not sure about the other options.
http://code.google.com/p/qsb-mac/
- simplicity and reliability (I'm on mac since 2006) - it just works, for everything I do actually
- an ecosystem of tools that are decently priced and very simple and reliable (such as 1password, knox, deskshade...)
- interop with our (i)phones
- the UI is really pleasant to my eye (fonts)
- I'm still in love with TextMate after all those years (Allan if you read this, take your time)
But then everyone is free to use what they like, no need for the neighbours to use the very same platform :)
That said, my first thought for the low barrier to no-mouse would be Linux as well, but as others have said there is more to OSX than just a pretty face.
A $300 to $500 difference over two or three years of primary usage is probably a difference of pennies per hour of usage, and that's assuming that you won't waste more time maintaining a Windows or Linux install and that you're equally productive on each OS, which generally isn't the case.
The computer is capitalized "Mac": http://www.apple.com/mac/
Also, you probably wouldn't use the Dashboard, which _can_ be disabled.
While my replacement isn't spotlight (I just use Proxi with a bunch of switch-directly-to-application-X hotkeys), I don't use the Dock either and would disable it if I could do so easily, without losing Dashboard, Spaces, and everything else that runs as part of the Dock process. (Although I actually still use command-M and Witch to minimize and unminimize windows to & from the Dock via the keyboard.)
In Tiger there was a nice hidden preference that allowed you to put it at the top of the screen, under the menu bar, where it would only come out if you really wanted it to (because the mouseover activation row was only one pixel tall and not at the top edge of the screen but rather the bottom edge of the menu bar), and was thus effectively pretty much disabled. Sadly, that option disappeared in Leopard. The best alternative I've found so far is to make the Dock really really tiny -- you can make it smaller than the System Preferences GUI will let you via 'defaults':
The idea is to extend the command-line metaphor to parts of OS X where a regular shell isn't useful, and most such tools provide a whole lot of functionality besides just launching apps.
http://graymatterlabs.com/snaprocket
fullscreen macvim is actually a beautiful editor.
Cmd-Tab switches between applications (as I'm sure everyone knows), but it's less useful on OS X than Ctrl-Tab is on Windows or Linux because it doesn't switch between individual windows in those applications.
Cmd-Tilde (~) was the missing link for me. It switches between windows in the current application. Those two are probably the most important keyboard shortcuts I know on OS X.
Plus, another endorsement for Quicksilver. That's always the first application I install, and I now find it really frustrating to use any computer that doesn't have it installed.
And maybe you should set your Dock to auto-hide, so you're not so tempted to move the mouse over there to monkey with things.
And after Cmd-Tab, Cmd-~ takes you backwards in the list of apps. So if you Cmd-Tab too many times, Cmd-~ takes you back instead of having to cycle through.
Likewise, in Safari Cmd-} (aka Cmd-Shift-]) and Cmd-{ take you forward and backward through the tabs. This also works in Terminal.
Cmd-L puts the focus on the location bar in Safari if you want to type in a URL (or tab over to the search)
Quicksilver is cool, but I just use Spotlight for launching apps. Cmd-Space turns on Spotlight.
If you use TextMate, I highly recommend the TextMate book from Prag Press.
Those are some of my favorites.
Being new to the Mac, I'd be happy to hear more shortcuts!
Also, when Cmd-Tab'ing, you can hold down Cmd and hit q to quit an application. It's a quick method for closing a lot of applications.
Just enable on Triggers, I set Shift-Ctrl-Cmd-V, and then I can use 1-9 to paste any of the 9 most recent clipboard items. I can use the mouse to select any of the most recent 250 clipboard items.
Turn on and spend a few minutes learning the keyboard shortcuts in GMail if you use it (conveniently, they map nicely to vi). This alone probably has saved me days of mousing, plus it can make ripping through your inbox kind of fun.
I also strongly second vimperator (the only reason I'm still using Firefox) and sizeUp.
Finally, just try unplugging your mouse occasionally to see how you're doing and what is still causing you to reach for it. Then sharpen the saw :)
I do like the idea of a double-pinkey jab as a shortcut.
The extension 'Vimium' for Chrome offers similar functionality: https://chrome.google.com/extensions/detail/dbepggeogbaibhgn...
http://most-advantageous.com/optimal-layout/
It lets you move, resize, and tile windows easily with just the keyboard, and you get a better Cmd-Tab that switches by window (though unfortunately it binds to Alt-Tab by default, and I haven't figured out how to override that).
I think it's better than both Divvy and SizeUp.
Also, +1 for vimperator and Quicksilver.
Your Mac will need a mic of course (most have them built in, except for Mini and Pro desktops I believe...).
Did you try the Apple Magic Trackpad http://www.apple.com/magictrackpad/ ?
1. SizeUp, small window management tool with keyboard shortcuts
2. QuickSilver
3. Ctrl + tab
4. Things quickentry ctrl + alt + cmd + space (that one is actually very helpfull)
Use the Keyboard Preferences to add or change shortcuts for your most-used commands. This can be done system-wide or on a per-application basis.
For example, give the "Access Menu Bar" command a better shortcut, such as Option+Space; give Window Zoom a shortcut (I use command+control+Z), etc.
In your most-used apps, explore the menu bar to see what keyboard shortcuts are already available, learn them, assign shortcuts for commands you use the most.
And make sure the software you write can also be navigated using the keyboard, assign thoughtful keyboard shortcuts, etc.
My other pain point was that Mac doesn't have autocopy, although I am not sure if that is good or bad for your RSI.