Home / End in OS X Terminal

OS X is a bit retarded, but what the rest of the world thinks Home / End should do, Mac users can achieve by press­ing Shift + Home / Shift + End or Con­trol + A / Con­trol + E respec­tively. I’m talk­ing about how to move your cur­sor to the begin­ning or end of a line, of course!

If you’re on one of those spe­cial midget key­boards (a lap­top?) that lacks use­ful but­tons like Home and End, you’re prob­a­bly look­ing for Shift + Fn + Left / Shift + Fn + Right.

There are a bunch of ways you can remap the key bind­ings, but in the inter­ests of stay­ing sane when work­ing on oth­ers’ machines, it’s prob­a­bly worth chang­ing your mus­cle mem­ory instead of your bind­ings here. It’s also worth not­ing that Vim users can use ^ / $ for begin­ning / end of line respectively.

Tags: , , , , , , ,

posted on Wednesday, April 6th, 2011 at 4:28 pm by Josh Street, filed under General.

One Response to “Home / End in OS X Terminal”

  1. Boyto says:

    What I don’t get is why the stan­dard Mac key bind­ings of Com­mand + Left and Com­mand + Right don’t work like they do in EVERY other pro­gram. I knew Emacs key bind­ings work in every app, but I hadn’t heard of Fn + Shift + Left before. Thanks!

Leave a Reply