From e58f5589edeeedfbd0a4fd9a6e6de94d472be24d Mon Sep 17 00:00:00 2001 From: Gustavo Sampaio Date: Thu, 19 Oct 2017 22:22:10 -0300 Subject: Add tab cycling with ctrl[+shift]+tab or ctrl+[pageup|pagedown] This is related to #35 --- src/stores/AppStore.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/stores/AppStore.js') diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index a5e0839f2..42ec25204 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js @@ -125,6 +125,18 @@ export default class AppStore extends Store { this.actions.service.openDevToolsForActiveService(); }); + // Set active the next service + key( + '⌘+pagedown, ctrl+pagedown, ⌘+shift+tab, ctrl+shift+tab', () => { + this.actions.service.setActiveNext(); + }); + + // Set active the prev service + key( + '⌘+pageup, ctrl+pageup, ⌘+tab, ctrl+tab', () => { + this.actions.service.setActivePrev(); + }); + this.locale = this._getDefaultLocale(); this._healthCheck(); -- cgit v1.2.3-70-g09d2