ui: fix acc navigation shortcuts direction
parent
3415a382a1
commit
03b9641bc6
|
@ -360,7 +360,7 @@ impl Component for Listing {
|
||||||
if let Some(key) = config_map.get("prev_folder") {
|
if let Some(key) = config_map.get("prev_folder") {
|
||||||
(*key).clone()
|
(*key).clone()
|
||||||
} else {
|
} else {
|
||||||
Key::Char('J')
|
Key::Char('K')
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
map.insert(
|
map.insert(
|
||||||
|
@ -368,7 +368,7 @@ impl Component for Listing {
|
||||||
if let Some(key) = config_map.get("next_folder") {
|
if let Some(key) = config_map.get("next_folder") {
|
||||||
(*key).clone()
|
(*key).clone()
|
||||||
} else {
|
} else {
|
||||||
Key::Char('K')
|
Key::Char('J')
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
map.insert(
|
map.insert(
|
||||||
|
@ -376,7 +376,7 @@ impl Component for Listing {
|
||||||
if let Some(key) = config_map.get("prev_account") {
|
if let Some(key) = config_map.get("prev_account") {
|
||||||
(*key).clone()
|
(*key).clone()
|
||||||
} else {
|
} else {
|
||||||
Key::Char('h')
|
Key::Char('l')
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
map.insert(
|
map.insert(
|
||||||
|
@ -384,7 +384,7 @@ impl Component for Listing {
|
||||||
if let Some(key) = config_map.get("next_account") {
|
if let Some(key) = config_map.get("next_account") {
|
||||||
(*key).clone()
|
(*key).clone()
|
||||||
} else {
|
} else {
|
||||||
Key::Char('l')
|
Key::Char('h')
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
map.insert("toggle-menu-visibility", Key::Char('`'));
|
map.insert("toggle-menu-visibility", Key::Char('`'));
|
||||||
|
|
|
@ -82,10 +82,10 @@ impl Default for ListingShortcuts {
|
||||||
ListingShortcuts {
|
ListingShortcuts {
|
||||||
prev_page: Key::PageUp,
|
prev_page: Key::PageUp,
|
||||||
next_page: Key::PageDown,
|
next_page: Key::PageDown,
|
||||||
prev_folder: Key::Char('J'),
|
prev_folder: Key::Char('K'),
|
||||||
next_folder: Key::Char('K'),
|
next_folder: Key::Char('J'),
|
||||||
prev_account: Key::Char('h'),
|
prev_account: Key::Char('l'),
|
||||||
next_account: Key::Char('l'),
|
next_account: Key::Char('h'),
|
||||||
new_mail: Key::Char('m'),
|
new_mail: Key::Char('m'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue