Update wiki HotKey

This commit is contained in:
Mrugesh Mohapatra
2016-07-31 04:36:17 +05:30
committed by GitHub
parent dee0f3f5df
commit 7193b9c725

View File

@ -20,7 +20,6 @@ const softRedirects = {
'g n n': '/challenges/next-challenge', 'g n n': '/challenges/next-challenge',
'g n a': '/about', 'g n a': '/about',
'g n m': '/map', 'g n m': '/map',
'g n w': '/wiki',
'g n s': '/shop', 'g n s': '/shop',
'g n o': '/settings' 'g n o': '/settings'
}; };
@ -33,6 +32,10 @@ export default function mouseTrapSaga(actions$) {
'g n r', 'g n r',
() => hardGoTo('https://github.com/freecodecamp/freecodecamp') () => hardGoTo('https://github.com/freecodecamp/freecodecamp')
), ),
bindKey$(
'g n w',
() => hardGoTo('http://forum.freecodecamp.com')
),
bindKey$('g m', toggleMapDrawer), bindKey$('g m', toggleMapDrawer),
bindKey$('g t n', toggleNightMode), bindKey$('g t n', toggleNightMode),
bindKey$('g c', toggleMainChat) bindKey$('g c', toggleMainChat)