create/modify the file: ~/Library/KeyBindings/DefaultKeyBinding.dict
with the following:
/* ~/Library/KeyBindings/DefaultKeyBinding.dict */
{
"^z" = "undo:";
"^x" = "cut:";
"^v" = "paste:";
"^c" = "copy:";
"^a" = "selectAll:";
"\UF729" = "moveToBeginningOfLine:"; /* Home */
"\UF72B" = "moveToEndOfLine:"; /* End */
"\UF72C" = "pageUp:"; /* PageUp */
"\UF72D" = "pageDown:"; /* PageDown */
}
Applications that uses the Cocoa AppKit text edit objects (i.e. TextEdit). However, not every application will necessarily support this. I noticed that Firefox does not which is very annoying.
For more details, http://xahlee.org/emacs/osx_keybinding.html is very useful.
To swap ctrl and command in Firefox/Thunderbird edit 'ui.key.accelKey' to 17 (about:config in Firefox, advance config in Thunderbird). Specifically, you can use one of the following:
17 Control (windows style)
18 Alt (unix style)
224 Meta (Mac OS command).
No comments:
Post a Comment