News for hackers. Stuff that matters.
Re:Ask HN: How can you make a MacBookPro keyboard productive... by alexmorse on Sunday November 24, 2013 @08:44PM (#6792071)
Type code on it, productively.

Seriously though, where do you feel it's failing compared to other keyboards? As far as laptop keyboards go, it's one of the best I've used.

Re:Ask HN: How can you make a MacBookPro keyboard productive... by apphrase on Sunday November 24, 2013 @08:53PM (#6792095)
Lack of single key Home/End and forward delete etc. All are somewhat possible with the Fn key, but that makes crazy combos and go to start/end of line also is a pain...
Re:Ask HN: How can you make a MacBookPro keyboard productive... by pwg on Sunday November 24, 2013 @09:06PM (#6792139)
If you use emacs style bindings, then control+a goes to start of line, control+e goes to end of line. Forward delete is control+d.

If you use Wordstar bindings, then control+q,control+s is start of line, control+q,control+d is end of line. Forward delete is control+g.

The Wordstar, Emacs and Vi keyboard bindings evolved in the days before dedicated keys for cursor movement functions, so they are useful as long as you have the requisite additional modifier keys. I.e., like when you are on a laptop with a limited number (or none) of dedicated cursor movement function keys (or with those same keys hidden behind odd Fn keystroke combos that differ between any two different laptops).

Re:Ask HN: How can you make a MacBookPro keyboard productive... by haney on Sunday November 24, 2013 @08:58PM (#6792112)
There are keyboard shortcuts for much of this behavior:

ctrl+a goes to the beginning of a line ctrl+e goes to the end ctrl+k deletes a line

Re:Ask HN: How can you make a MacBookPro keyboard productive... by jcutrell on Monday November 25, 2013 @10:11AM (#6794390)
I've been very productive with these key bindings. Ctrl+d is forward delete.

There's also a lot of other possibilities with plugins for a given editor, like Vim-style bindings in Sublime.

I haven't yet found any real restrictions in my workflow once I learned some of those.

Take a look at the shortcuts in nano; pretty simple stuff can help a lot. Ctrl + Y = page up. Ctrl + v = page down. Ctrl+x = exit.

Re:Ask HN: How can you make a MacBookPro keyboard productive... by kmf on Sunday November 24, 2013 @09:01PM (#6792124)
Someone else mentioned Keyremap4macbook (https://pqrs.org/macosx/keyremap4macbook/). There's a huge amount of customization there, enough that you should be good to go just by looking through the options there. My favorite is remapping Caps Lock to Left CTRL. Then you can remap Left CTRL to be escape by itself, and CTRL+<yourkey> when pressed with other keys. It's very handy in Vim, especially.

A couple other recommendations, however:

BetterTouchTool: The MBP trackpad has a surprising amount of complexity in terms of recognizing gestures. BTT adds to that . http://www.boastr.net

Keyboard Maestro: Scripting and advanced keyboard shortcuts. Includes support for per-app shortcuts, which is pretty phenomenal. http://www.keyboardmaestro.com

TextExpander: Less practical when you're programming, but TE can be great for automating things you write often (email address, email responses, URLs, etc.) http://smilesoftware.com/TextExpander/

Re:Ask HN: How can you make a MacBookPro keyboard productive... by floatboth on Sunday December 01, 2013 @11:31AM (#6827914)
"A Modern Space Cadet" http://stevelosh.com/blog/2012/10/a-modern-space-cadet/ is my favorite KeyRemap4Macbook/PCKeyboardHack/etc. setup
Re:Ask HN: How can you make a MacBookPro keyboard productive... by typografy on Sunday November 24, 2013 @08:57PM (#6792109)
Get https://pqrs.org/macosx/keyremap4macbook/ , then pick the keys you need. I have my right side command and option as page up and page down, eject as (forward) delete, and PC style home/end on the arrow keys (I think that removes some inconsistencies between programs).

I had been using Windows for the previous 17 years or so, so I also switched control and command.

Re:Ask HN: How can you make a MacBookPro keyboard productive... by bcl on Sunday November 24, 2013 @10:41PM (#6792364)
Use a different keyboard. Seriously, I've had to take mine in 3 times now because the keys keep breaking their hooks and flopping around. Right now my 6 key is feeling like it is about to go.
Re:Ask HN: How can you make a MacBookPro keyboard productive... by mattwritescode on Thursday November 28, 2013 @04:05AM (#6813716)
Make the thing using the keyboard more productive by not asking question on HN.
Re:Ask HN: How can you make a MacBookPro keyboard productive... by benologist on Sunday November 24, 2013 @08:47PM (#6792081)
Learning the relevant keyboard shortcuts and building that muscle memory.
Re:Ask HN: How can you make a MacBookPro keyboard productive... by Randgalt on Sunday November 24, 2013 @10:17PM (#6792315)
Use a great IDE like IntelliJ IDEA. I use a MBP solely.