OK, I entered the emacs keybindings using keyconfig and everything seems to work other than ctrl-A which still does a select all (as you warned in the dialog).
In this post here:
viewtopic.php?f=48&t=72994&start=1169 you said:
dorando wrote:Also note that some combinations like Ctrl+A (grayed out in keyconfig) can't be used without setting ui.key.accelKey to 18 (changes most Ctrl+ to Alt+) or 224 (changes most Ctrl+ to Meta+ which is unusable on windows).
Would you mind explaining a little about this? Changing ctrl to alt isn't particularly desirable.
Thanks.
Here are the resulting prefs.js for keyconfig:
Code: Select all
user_pref("keyconfig.global.20080929", "");
user_pref("keyconfig.main.key_close", "control shift][W][");
user_pref("keyconfig.main.key_editAsNew", "control shift][E][");
user_pref("keyconfig.main.key_find", "control shift][F][");
user_pref("keyconfig.main.key_newMessage2", "control shift][N][");
user_pref("keyconfig.main.key_print", "control shift][P][");
user_pref("keyconfig.main.key_quickSearchFocus", "!][][");
user_pref("keyconfig.main.key_selectAll", "!][][");
user_pref("keyconfig.main.key_viewPageSource", "!][][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_A", "control][A][][goDoCommand(\"cmd_beginLine\")][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_B", "control][B][][goDoCommand(\"cmd_charPrevious\")][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_D", "control][D][][goDoCommand(\"cmd_deleteCharForward\")][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_E", "control][E][][goDoCommand(\"cmd_endLine\")][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_F", "control][F][][goDoCommand(\"cmd_charNext\")][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_H", "control][H][][goDoCommand(\"cmd_deleteCharBackward\")][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_K", "control][K][][goDoCommand(\"cmd_deleteToEndOfLine\")][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_N", "control][N][][goDoCommand(\"cmd_lineNext\")][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_P", "control][P][][goDoCommand(\"cmd_linePrevious\")][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_U", "control][U][][goDoCommand(\"cmd_selectBeginLine\"); goDoCommand(\"cmd_delete\");][");
user_pref("keyconfig.main.xxx_key__emacs_ctrl_W", "control][W][][goDoCommand(\"cmd_deleteWordBackward\")][");