diff --git a/app/assets/javascripts/discourse/controllers/keyboard-shortcuts-help.js b/app/assets/javascripts/discourse/controllers/keyboard-shortcuts-help.js index 1c2d8f42218..62feb5b4048 100644 --- a/app/assets/javascripts/discourse/controllers/keyboard-shortcuts-help.js +++ b/app/assets/javascripts/discourse/controllers/keyboard-shortcuts-help.js @@ -172,6 +172,16 @@ export default Controller.extend(ModalFunctionality, { keys1: [SHIFT, "a"], keysDelimiter: PLUS }) + }, + search_menu: { + prev_next: buildShortcut("search_menu.prev_next", { + keys1: ["↑"], + keys2: ["↓"], + shortcutsDelimiter: "slash" + }), + insert_url: buildShortcut("search_menu.insert_url", { + keys1: ["a"] + }) } } }); diff --git a/app/assets/javascripts/discourse/templates/modal/keyboard-shortcuts-help.hbs b/app/assets/javascripts/discourse/templates/modal/keyboard-shortcuts-help.hbs index 2203c901748..cfa90cb67ef 100644 --- a/app/assets/javascripts/discourse/templates/modal/keyboard-shortcuts-help.hbs +++ b/app/assets/javascripts/discourse/templates/modal/keyboard-shortcuts-help.hbs @@ -78,5 +78,12 @@