Ask HN: How can you make a MacBookPro keyboard productive for programming?
11–14 of 14 posts
Re: Ask HN: How can you make a MacBookPro keyboard productive for programming?
#12Earlier quoted context omitted.
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...
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
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 for programming?
#13Re: Ask HN: How can you make a MacBookPro keyboard productive for programming?
#14Someone 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+ when pressed with other keys. It's very handy in Vim, especially. A couple other recommendation…