mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 01:18:21 +00:00
Merge branch 'master' of github.com:Extrawurst/gitui
This commit is contained in:
commit
7aebd1b666
2 changed files with 4 additions and 1 deletions
|
|
@ -129,7 +129,8 @@ impl App {
|
|||
self.toggle_tabs(false)?;
|
||||
NeedsUpdate::COMMANDS
|
||||
}
|
||||
keys::TAB_TOGGLE_REVERSE => {
|
||||
keys::TAB_TOGGLE_REVERSE
|
||||
| keys::TAB_TOGGLE_REVERSE_WINDOWS => {
|
||||
self.toggle_tabs(true)?;
|
||||
NeedsUpdate::COMMANDS
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ pub const TAB_3: KeyEvent = no_mod(KeyCode::Char('3'));
|
|||
pub const TAB_4: KeyEvent = no_mod(KeyCode::Char('4'));
|
||||
pub const TAB_TOGGLE: KeyEvent = no_mod(KeyCode::Tab);
|
||||
pub const TAB_TOGGLE_REVERSE: KeyEvent = no_mod(KeyCode::BackTab);
|
||||
pub const TAB_TOGGLE_REVERSE_WINDOWS: KeyEvent =
|
||||
with_mod(KeyCode::BackTab, KeyModifiers::SHIFT);
|
||||
pub const FOCUS_WORKDIR: KeyEvent = no_mod(KeyCode::Char('w'));
|
||||
pub const FOCUS_STAGE: KeyEvent = no_mod(KeyCode::Char('s'));
|
||||
pub const FOCUS_RIGHT: KeyEvent = no_mod(KeyCode::Right);
|
||||
|
|
|
|||
Loading…
Reference in a new issue