mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 21:58:39 -09:00
Add ctrl+tab/ctrl+shift+tab for tab switching (#367)
This commit is contained in:
parent
0782c77560
commit
1af99f1338
1 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ class HyperTerm extends Component {
|
||||||
keys.bind('command+shift+]', moveRight);
|
keys.bind('command+shift+]', moveRight);
|
||||||
keys.bind('command+alt+left', moveLeft);
|
keys.bind('command+alt+left', moveLeft);
|
||||||
keys.bind('command+alt+right', moveRight);
|
keys.bind('command+alt+right', moveRight);
|
||||||
|
keys.bind('ctrl+shift+tab', moveLeft);
|
||||||
|
keys.bind('ctrl+tab', moveRight);
|
||||||
|
|
||||||
const bound = method => { return term[method].bind(term); };
|
const bound = method => { return term[method].bind(term); };
|
||||||
keys.bind('alt+left', bound('moveWordLeft'));
|
keys.bind('alt+left', bound('moveWordLeft'));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue