Add ctrl+tab/ctrl+shift+tab for tab switching (#367)

This commit is contained in:
Nick Christensen 2016-07-22 12:34:37 -05:00 committed by Guillermo Rauch
parent 0782c77560
commit 1af99f1338

View file

@ -49,6 +49,8 @@ class HyperTerm extends Component {
keys.bind('command+shift+]', moveRight);
keys.bind('command+alt+left', moveLeft);
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); };
keys.bind('alt+left', bound('moveWordLeft'));