ENTRIES
Welcome to Eric Cheng's online journal! You are not logged in. [ Log in ]
«  :: index ::  »

Mac OS X – go to beginning of line, or maybe not

:: Monday, October 6th, 2008 @ 4:32:10 pm

:: Tags:

This is driving me crazy. In Windoze-land, hitting Home will take you to the beginning of a line of text, and End will take you to the end of the line. I had grown quite used to this and relied on it a lot. In Mac OS X, the respective keyboard shortcuts are CMD-left arrow and CMD-right arrow.

The problem is that in web browsers on the Mac, CMD-left arrow is Go Back, and CMD-right arrow is Go Forward. The browsers are typically smart enough to detect whether or not your cursor is in a textarea, but that detection isn’t 100% reliable. Sometimes, I hit CMD-left arrow while I am typing inside a textarea, and the browser goes back a page; I usually lose everything I happened to be typing. I’ve probably lost a small book’s worth of text over the last two years.

Anyone have a workaround?

Popularity: 2% | San Francisco, CA | link | trackback | Oct 6, 2008 16:32:10
  • http://www.thelivingsea.com Laz

    In firefox and safari you can also use Cmd+[ to go back and Cmd+] to go forward.

  • http://echeng.com echeng

    Yeah, but I want it NOT to go forward and back when I hit CMD+left arrow and CMD+right arrow. I guess I can disable them in Firefox and get used to using CMD+[ and CMD+]…

  • http://arex.smugmug.com arex

    Hi there, been following your awesome pics for about a month. cool stuff.

    one workaround, from what I recall, is to use the up/down arrows to go to home/end. It also drives me crazy that the Home/End buttons don’t work the way they’re supposed to.

  • danielle

    Ctrl-a = beginning of line Ctrl-e = end of line

  • http://echeng.com echeng

    Hey, that is cool — I always assumed that Ctrl-a/e were only for Terminal and other unixy things, but the Firefox people are thinking! Thanks for the tip!

  • Arjan

    In fact, Cmd-Right will make Firefox take you forward a page, but as in most cases there won’t be a page to forward to, this often results in moving the cursor to the end of the current line after all.

    To see the effect: go to tinymce.moxiecode.com and from that page go forward to Examples, and then forward to Documentation. Now, go back one page. Back in the Examples change some text and hit Cmd-Left while the cursor is still within the editor. Firefox will take you back yet another page, loosing any changes you made. Here Safari would set the cursor to the start of the current line. Likewise, for Cmd-Right Firefox takes you forward to Documentation, where Safari would move the cursor to the end of the current line.

    The solution is simple: use the add-on “keyconfig” from forums.mozillazine.org/viewtopic.php?t=72994. After installing go to menu Tools, Keyconfig and choose Disable for the combination “Back: Cmd + Left Arrow”. Likewise disable “Forward: Cmd + Right Arrow”. That’s all. To navigate use Cmd-[ and Cmd-].

    You may also want to disable the combination “Back: Backspace”, or search the web for browser.backspace_action.

  • http://www.rhoderick.org/2010/05/firefox-bug-342564/ How Firefox Bug #342564 Kills Usability on the Mac « rhoderick.org

    [...] Mac OS X – go to beginning of line, or maybe not [...]

  • http://www.joshrhoderick.com/2010/05/how-firefoxs-command-key-bug-kills-usability-on-the-mac/ How Firefox’s Command Key Bug Kills Usability on the Mac « Josh Rhoderick

    [...] Mac OS X – go to beginning of line, or maybe not [...]

  • http://joshrhoderick.wordpress.com/2010/05/05/how-firefoxs-command-key-bug-kills-usability-on-the-mac/ How Firefox’s Command Key Bug Kills Usability on the Mac | Josh Rhoderick

    [...] Mac OS X – go to beginning of line, or maybe not [...]

  • Guest

    If you haven’t discovered it already, Control-A usually will work.

    http://support.apple.com/kb/ht1343 has a number of other useful shortcuts.

  • Thelovelyrics

    Take a look here How to go to the beginning or the end of the line in Mac?  

  • Thelovelyrics
blog comments powered by Disqus
RECENT TWITTER ACTIVITY
  • @blam have a great time! My cough cost me 75% I my dives. :( 33 mins ago
  • Tip: Dragging 5 mounted remote volumes to a new Mail.app message does bad things. 4 hrs ago
  • Strong tailwinds on the way back made for an 8-hr flight from Narita to SFO. The plane's map said we were going as fast as 720 mph (!). 4 hrs ago
  • @transniugini Hope all is well with you, too. I did a land visit with you in '05-it was incredible: http://t.co/6XAz8caq 5 hrs ago
  • A PNG ferry sank yesterday—so sad. http://t.co/yoeiUP1x We left the Eastern Fields early to avoid the storms. High winds and huge swells. 6 hrs ago
  • More updates...
ARCHIVES
Journal Home
Where is Eric? (password)
Stuff for Sale
January 2012 (6)
December 2011 (8)
November 2011 (10)
October 2011 (12)
September 2011 (8)
August 2011 (14)
July 2011 (9)
June 2011 (9)
May 2011 (11)
April 2011 (11)
March 2011 (12)
February 2011 (23)
January 2011 (22)
December 2010 (16)
November 2010 (17)
October 2010 (26)
September 2010 (24)
August 2010 (24)
July 2010 (30)
June 2010 (26)
May 2010 (21)
April 2010 (26)
March 2010 (19)
February 2010 (17)
January 2010 (29)
December 2009 (21)
November 2009 (23)
October 2009 (32)
September 2009 (19)
August 2009 (34)
July 2009 (21)
June 2009 (30)
May 2009 (23)
April 2009 (18)
March 2009 (6)
February 2009 (25)
January 2009 (5)
December 2008 (6)
November 2008 (22)
October 2008 (27)
September 2008 (25)
August 2008 (34)
July 2008 (34)
June 2008 (32)
May 2008 (26)
April 2008 (15)
March 2008 (19)
February 2008 (31)
January 2008 (43)
December 2007 (33)
November 2007 (29)
October 2007 (29)
September 2007 (9)
August 2007 (19)
July 2007 (10)
June 2007 (17)
May 2007 (26)
April 2007 (38)
March 2007 (39)
February 2007 (13)
January 2007 (35)
December 2006 (35)
November 2006 (14)
October 2006 (6)
September 2006 (20)
August 2006 (24)
July 2006 (32)
June 2006 (17)
May 2006 (23)
April 2006 (16)
March 2006 (16)
February 2006 (26)
January 2006 (34)
December 2005 (17)
November 2005 (21)
October 2005 (18)
September 2005 (17)
August 2005 (5)
July 2005 (15)
June 2005 (20)
May 2005 (25)
April 2005 (7)
March 2005 (22)
February 2005 (20)
January 2005 (38)
December 2004 (6)
November 2004 (24)
October 2004 (16)
September 2004 (22)
August 2004 (12)
July 2004 (17)
June 2004 (15)
May 2004 (11)
April 2004 (35)
March 2004 (40)
February 2004 (29)
January 2004 (36)
December 2003 (20)
November 2003 (18)
October 2003 (10)
September 2003 (18)
August 2003 (10)
July 2003 (34)
June 2003 (12)
May 2003 (49)
April 2003 (42)
March 2003 (42)
February 2003 (15)
January 2003 (7)
December 2002 (17)
November 2002 (19)
October 2002 (24)
September 2002 (22)
August 2002 (20)
July 2002 (21)
June 2002 (14)
May 2002 (15)
April 2002 (11)
March 2002 (13)
February 2002 (20)
January 2002 (17)
December 2001 (16)
Even Older Journal
Travel Journals

CATEGORIES / TAGS
(25) (2) (2) (1) (1) (6) (2) (2) (11) (7) (3) (1) (1) (2) (4) (1) (6) (1) (1) (1) (6) (2) (1) (3) (1) (5) (1) (19) (1) (1) (1) (1) (14) (10) (1) (1) (1) (27) (6) (3) (2) (4) (1) (41) (11) (9) (4) (38) (1) (3) (2) (4) (1) (1) (1) (2) (1) (1) (9) (22) (8) (3) (2) (3) (2) (1) (3) (1) (1) (1) (4) (1) (1) (5) (43) (1) (3) (22) (1) (1) (1) (1) (1) (10) (3) (1) (1) (1) (1) (6) (5) (1) (1) (1) (1) (3) (1) (1) (69) (3) (3) (7) (1) (1) (15) (6) (1) (27) (1) (7) (1) (3) (4) (4) (1) (1) (1) (1) (1) (8) (4) (3) (2) (89) (13) (2) (76) (2) (2) (1) (1) (1) (1) (1) (3) (2) (3) (1) (1) (24) (3) (5) (2) (1) (2)


Eric Cheng's RSS Journal Journal RSS
Eric Cheng's RSS Journal Comments RSS

proudly powered by wordpress
script exec time: 0.92s
i hate computers.