diff --git a/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js b/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js index 991879ba00e..619b81300f3 100644 --- a/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js +++ b/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js @@ -22,7 +22,8 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({ 'e': 'editPost', 'l': 'toggleLike', 'r': 'replyToPost', - '!': 'showFlags' + '!': 'showFlags', + 't': 'replyAsNewTopic' }, CLICK_BINDINGS: { diff --git a/app/assets/javascripts/discourse/templates/modal/keyboard_shortcuts_help.js.handlebars b/app/assets/javascripts/discourse/templates/modal/keyboard_shortcuts_help.js.handlebars index 76617712dce..68aa8f2f28c 100644 --- a/app/assets/javascripts/discourse/templates/modal/keyboard_shortcuts_help.js.handlebars +++ b/app/assets/javascripts/discourse/templates/modal/keyboard_shortcuts_help.js.handlebars @@ -36,6 +36,7 @@
  • {{{i18n keyboard_shortcuts_help.actions.star}}}
  • {{{i18n keyboard_shortcuts_help.actions.share_topic}}}
  • {{{i18n keyboard_shortcuts_help.actions.share_post}}}
  • +
  • {{{i18n keyboard_shortcuts_help.actions.reply_as_new_topic}}}
  • {{{i18n keyboard_shortcuts_help.actions.reply_topic}}}
  • {{{i18n keyboard_shortcuts_help.actions.reply_post}}}
  • {{{i18n keyboard_shortcuts_help.actions.quote_post}}}
  • diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 6aa10ffd563..a12017374ba 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -2063,6 +2063,7 @@ en: star: 'f Star topic' share_topic: 'shift s Share topic' share_post: 's Share post' + reply_as_new_topic: 't Reply as new topic' reply_topic: 'shift r Reply to topic' reply_post: 'r Reply to post' quote_post: 'q Quote post'