paneselect: ctrl-g as emacs-y way to close it
This commit is contained in:
1 parent
478b0df58b
commit
c34e9b45d4
1 file changed
+1
-1
@@ -165,7 +165,7 @@ impl Modal for PaneSelector {
|
||||
term_window: &mut TermWindow,
|
||||
) -> anyhow::Result<()> {
|
||||
match (key, mods) {
|
||||
(KeyCode::Escape, KeyModifiers::NONE) => {
|
||||
(KeyCode::Escape, KeyModifiers::NONE) | (KeyCode::Char('g'), KeyModifiers::CTRL) => {
|
||||
term_window.cancel_modal();
|
||||
}
|
||||
(KeyCode::Char(c), KeyModifiers::NONE) | (KeyCode::Char(c), KeyModifiers::SHIFT) => {
|
||||
|
||||
Reference in new issue
Block a user