Change picker horizontal split to h

Follow window mode and vim behavior, x seemed weird.
This commit is contained in:
Ivan Tham 2021-06-12 18:39:27 +08:00 committed by Blaž Hrastnik
parent 45793d7c09
commit 1953588873

View file

@ -188,7 +188,7 @@ impl<T: 'static> Component for Picker<T> {
return close_fn;
}
KeyEvent {
code: KeyCode::Char('x'),
code: KeyCode::Char('h'),
modifiers: KeyModifiers::CONTROL,
} => {
if let Some(option) = self.selection() {