ui: fix acc navigation shortcuts direction

embed
Manos Pitsidianakis 2019-05-01 13:48:52 +03:00
parent 3415a382a1
commit 03b9641bc6
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
2 changed files with 8 additions and 8 deletions

View File

@ -360,7 +360,7 @@ impl Component for Listing {
if let Some(key) = config_map.get("prev_folder") {
(*key).clone()
} else {
Key::Char('J')
Key::Char('K')
},
);
map.insert(
@ -368,7 +368,7 @@ impl Component for Listing {
if let Some(key) = config_map.get("next_folder") {
(*key).clone()
} else {
Key::Char('K')
Key::Char('J')
},
);
map.insert(
@ -376,7 +376,7 @@ impl Component for Listing {
if let Some(key) = config_map.get("prev_account") {
(*key).clone()
} else {
Key::Char('h')
Key::Char('l')
},
);
map.insert(
@ -384,7 +384,7 @@ impl Component for Listing {
if let Some(key) = config_map.get("next_account") {
(*key).clone()
} else {
Key::Char('l')
Key::Char('h')
},
);
map.insert("toggle-menu-visibility", Key::Char('`'));

View File

@ -82,10 +82,10 @@ impl Default for ListingShortcuts {
ListingShortcuts {
prev_page: Key::PageUp,
next_page: Key::PageDown,
prev_folder: Key::Char('J'),
next_folder: Key::Char('K'),
prev_account: Key::Char('h'),
next_account: Key::Char('l'),
prev_folder: Key::Char('K'),
next_folder: Key::Char('J'),
prev_account: Key::Char('l'),
next_account: Key::Char('h'),
new_mail: Key::Char('m'),
}
}