Update wiki HotKey
This commit is contained in:
committed by
GitHub
parent
dee0f3f5df
commit
7193b9c725
@ -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)
|
||||||
|
Reference in New Issue
Block a user