
Own a Mac? Hate how your Home/End keys work?
If you're used to more-sane behavior from your Home/End keys, like "going to the end of the current line" instead of "going to the end of the entire document", this should fix up your keyboard behavior.
Inside ~/Library, create a folder named "KeyBindings"
Create a file named DefaultKeyBinding.dict
This file should contain:
{
/* Remap Home / End to be correct */
"\UF729" = "moveToBeginningOfLine:"; /* Home */
"\UF72B" = "moveToEndOfLine:"; /* End */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */
}
Give the OS a minute or so to read the file, or quit-and-restart any misbehaving applications, and it should Just Work.
Edit: Fixed per SpiceWare so the \'s show up.
-Mike
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania

Edited by
mvitale
April 15, 2010, 06:34:45 PM EDT
Own a Mac? Hate how your Home/End keys work?
If you're used to more-sane behavior from your Home/End keys, like "going to the end of the current line" instead of "going to the end of the entire document", this should fix up your keyboard behavior.
Inside ~/Library, create a folder named "KeyBindings"
Create a file named DefaultKeyBinding.dict
This file should contain:
{
/* Remap Home / End to be correct */
"UF729" = "moveToBeginningOfLine:"; /* Home */
"UF72B" = "moveToEndOfLine:"; /* End */
"$UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */
"$UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */
}
Give the OS a minute or so to read the file, or quit-and-restart any misbehaving applications, and it should Just Work.
-Mike
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania

Edited by
mvitale
April 15, 2010, 06:35:02 PM EDT
Own a Mac? Hate how your Home/End keys work?
If you're used to more-sane behavior from your Home/End keys, like "going to the end of the current line" instead of "going to the end of the entire document", this should fix up your keyboard behavior.
Inside ~/Library, create a folder named "KeyBindings"
Create a file named DefaultKeyBinding.dict
This file should contain:
{
/* Remap Home / End to be correct */
"\UF729" = "moveToBeginningOfLine:"; /* Home */
"\UF72B" = "moveToEndOfLine:"; /* End */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */
}
Give the OS a minute or so to read the file, or quit-and-restart any misbehaving applications, and it should Just Work.
-Mike
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania

Edited by
mvitale
April 15, 2010, 06:35:42 PM EDT
Own a Mac? Hate how your Home/End keys work?
If you're used to more-sane behavior from your Home/End keys, like "going to the end of the current line" instead of "going to the end of the entire document", this should fix up your keyboard behavior.
Inside ~/Library, create a folder named "KeyBindings"
Create a file named DefaultKeyBinding.dict
This file should contain:
{
/* Remap Home / End to be correct */
"\UF729" = "moveToBeginningOfLine:"; /* Home */
"\UF72B" = "moveToEndOfLine:"; /* End */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */
}
Give the OS a minute or so to read the file, or quit-and-restart any misbehaving applications, and it should Just Work.
Edit: Fixed per SpiceWare so the 's show up.
-Mike
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania