Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fix OSX's Home/End keys.
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Sun May 22, 2005 8:05 pm    Post subject: Fix OSX's Home/End keys. Reply with quote

Just thought this might interest someone here, since it fixes what to me is the most glaring thing wrong with OS X.

Put the following in ~/Library/KeyBindings/DefaultKeyBinding.dict
Code:
/* ~/Library/KeyBindings/DefaultKeyBinding.dict - Fix Home/End keys. */
{
"\UF729" = "moveToBeginningOfLine:"; /* home */
"\UF72B" = "moveToEndOfLine:"; /* end */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* shift + home */
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* shift + end */
"^\UF729" = "moveToBeginningOfDocument:"; /* control + home */
"^\UF72B" = "moveToEndOfDocument:"; /* control + end */
}


( taken from a /. post )
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Sat May 28, 2005 11:23 am    Post subject: Re: Fix OSX's Home/End keys. Reply with quote

GREAT!!! It's the most useful tip i've ever seen ;)

Edit: It doesn't work only with terminal app :(
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
Frogblast
n00b
n00b


Joined: 28 Aug 2004
Posts: 13

PostPosted: Sun Jun 05, 2005 2:35 am    Post subject: Reply with quote

cmd+left or cmd+right arrow go to the beginning and end of a line by default. At least on a laptop keyboard, it's a lot quicker to get to the straight arrow keys.
Back to top
View user's profile Send private message
rm
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2004
Posts: 87

PostPosted: Sun Jun 05, 2005 5:22 pm    Post subject: Reply with quote

no cmd+arrow on my powerbook with standard configuration

bye
rm
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Tue Jun 21, 2005 9:00 am    Post subject: Reply with quote

Frogblast wrote:
cmd+left or cmd+right arrow go to the beginning and end of a line by default.

cmd+arrow does nothing...

By the way i resolved changing the binding of fn+left/right (home/end) to ctrl+a and ctrl+e on terminal
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum