mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 17:53:44 +08:00
try moving shortcut to ctrl+alt+f
This commit is contained in:
parent
a4c539bade
commit
7f9b0f5e60
|
@ -233,7 +233,7 @@ export default Ember.Component.extend({
|
|||
const shortcuts = this.get('toolbar.shortcuts');
|
||||
|
||||
// for some reason I am having trouble bubbling this so hack it in
|
||||
mouseTrap.bind(['ctrl+alt+s','command+alt+s'], (event) =>{
|
||||
mouseTrap.bind(['ctrl+alt+f'], (event) =>{
|
||||
this.appEvents.trigger('header:keyboard-trigger', {type: 'search', event});
|
||||
return true;
|
||||
});
|
||||
|
|
|
@ -6,8 +6,7 @@ const bindings = {
|
|||
'!': {postAction: 'showFlags'},
|
||||
'#': {handler: 'goToPost', anonymous: true},
|
||||
'/': {handler: 'toggleSearch', anonymous: true},
|
||||
'ctrl+alt+s': {handler: 'toggleSearch', anonymous: true},
|
||||
'command+alt+s': {handler: 'toggleSearch', anonymous: true},
|
||||
'ctrl+alt+f': {handler: 'toggleSearch', anonymous: true},
|
||||
'=': {handler: 'toggleHamburgerMenu', anonymous: true},
|
||||
'?': {handler: 'showHelpModal', anonymous: true},
|
||||
'.': {click: '.alert.alert-info.clickable', anonymous: true}, // show incoming/updated topics
|
||||
|
|
|
@ -2383,7 +2383,7 @@ en:
|
|||
hamburger_menu: '<b>=</b> Open hamburger menu'
|
||||
user_profile_menu: '<b>p</b> Open user menu'
|
||||
show_incoming_updated_topics: '<b>.</b> Show updated topics'
|
||||
search: '<b>/</b> or <b>ctrl</b>+<b>alt</b>+<b>s</b> Search'
|
||||
search: '<b>/</b> or <b>ctrl</b>+<b>alt</b>+<b>f</b> Search'
|
||||
help: '<b>?</b> Open keyboard help'
|
||||
dismiss_new_posts: '<b>x</b>, <b>r</b> Dismiss New/Posts'
|
||||
dismiss_topics: '<b>x</b>, <b>t</b> Dismiss Topics'
|
||||
|
|
Loading…
Reference in New Issue
Block a user