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 692769c4726..6ec412743dd 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 @@ -39,6 +39,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 73ce04c4a88..8585a68ceb9 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -2066,6 +2066,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'