"g t" => "goto_tagcloud",
"g P" => "goto_prefs",
// "other" => array(
- "(9)|tab" => "select_article_cursor", // tab
+ "(9)|Tab" => "select_article_cursor", // tab
"c l" => "create_label",
"c f" => "create_filter",
"c s" => "collapse_sidebar",
+ "^(191)|Ctrl+/" => "help_dialog",
);
global $pluginhost;
var cmdline = $('cmdline');
- try {
- shift_key = e.shiftKey;
- } catch (e) {
-
- }
+ shift_key = e.shiftKey;
+ ctrl_key = e.ctrlKey;
if (window.event) {
keycode = window.event.keyCode;
Element.hide(cmdline);
var hotkey = keychar.search(/[a-zA-Z0-9]/) != -1 ? keychar : "(" + keycode + ")";
+ if (ctrl_key) hotkey = "^" + hotkey;
hotkey = hotkey_prefix ? hotkey_prefix + " " + hotkey : hotkey;
hotkey_prefix = false;