|
|
|
@ -158,7 +158,7 @@ shortcut_key_values! { "listing",
|
|
|
|
|
next_page |> "Go to next page." |> Key::PageDown,
|
|
|
|
|
prev_account |> "Go to previous account." |> Key::Char('L'),
|
|
|
|
|
prev_mailbox |> "Go to previous mailbox." |> Key::Char('K'),
|
|
|
|
|
open_mailbox |> "Open selected mailbox" |> Key::Char('\n'),
|
|
|
|
|
open_mailbox |> "Open selected mailbox." |> Key::Char('\n'),
|
|
|
|
|
toggle_mailbox_collapse |> "Toggle mailbox collapse in menu." |> Key::Char(' '),
|
|
|
|
|
prev_page |> "Go to previous page." |> Key::PageUp,
|
|
|
|
|
search |> "Search within list of e-mails." |> Key::Char('/'),
|
|
|
|
@ -198,8 +198,8 @@ shortcut_key_values! { "contact-list",
|
|
|
|
|
shortcut_key_values! { "pager",
|
|
|
|
|
/// Shortcut listing for the text pager
|
|
|
|
|
pub struct PagerShortcuts {
|
|
|
|
|
page_down |> "Go to next pager page" |> Key::PageDown,
|
|
|
|
|
page_up |> "Go to previous pager page" |> Key::PageUp,
|
|
|
|
|
page_down |> "Go to next pager page." |> Key::PageDown,
|
|
|
|
|
page_up |> "Go to previous pager page." |> Key::PageUp,
|
|
|
|
|
scroll_down |> "Scroll down pager." |> Key::Char('j'),
|
|
|
|
|
scroll_up |> "Scroll up pager." |> Key::Char('k')
|
|
|
|
|
}
|
|
|
|
@ -210,8 +210,8 @@ shortcut_key_values! { "general",
|
|
|
|
|
toggle_help |> "Toggle help and shortcuts view." |> Key::Char('?'),
|
|
|
|
|
enter_command_mode |> "Enter COMMAND mode." |> Key::Char(':'),
|
|
|
|
|
quit |> "Quit meli." |> Key::Char('q'),
|
|
|
|
|
go_to_tab |> "Go to the nth tab" |> Key::Alt('n'),
|
|
|
|
|
next_tab |> "Next tab." |> Key::Char('T'),
|
|
|
|
|
go_to_tab |> "Go to the nth tab." |> Key::Alt('n'),
|
|
|
|
|
next_tab |> "Go to the next tab." |> Key::Char('T'),
|
|
|
|
|
scroll_right |> "Generic scroll right (catch-all setting)" |> Key::Char('l'),
|
|
|
|
|
scroll_left |> "Generic scroll left (catch-all setting)" |>Key::Char('h'),
|
|
|
|
|
scroll_up |> "Generic scroll up (catch-all setting)" |> Key::Char('k'),
|
|
|
|
@ -232,7 +232,7 @@ shortcut_key_values! { "general",
|
|
|
|
|
shortcut_key_values! { "composing",
|
|
|
|
|
pub struct ComposingShortcuts {
|
|
|
|
|
edit |> "Edit." |> Key::Char('e'),
|
|
|
|
|
send_mail |> "Deliver draft to mailer" |> Key::Char('s'),
|
|
|
|
|
send_mail |> "Deliver draft to mailer." |> Key::Char('s'),
|
|
|
|
|
scroll_up |> "Change field focus." |> Key::Char('k'),
|
|
|
|
|
scroll_down |> "Change field focus." |> Key::Char('j')
|
|
|
|
|
}
|
|
|
|
@ -242,7 +242,7 @@ shortcut_key_values! { "envelope-view",
|
|
|
|
|
pub struct EnvelopeViewShortcuts {
|
|
|
|
|
add_addresses_to_contacts |> "Select addresses from envelope to add to contacts." |> Key::Char('c'),
|
|
|
|
|
edit |> "Open envelope in composer." |> Key::Char('e'),
|
|
|
|
|
go_to_url |> "Go to url of given index" |> Key::Char('g'),
|
|
|
|
|
go_to_url |> "Go to url of given index." |> Key::Char('g'),
|
|
|
|
|
open_attachment |> "Opens selected attachment with xdg-open." |> Key::Char('a'),
|
|
|
|
|
open_mailcap |> "Opens selected attachment according to its mailcap entry." |> Key::Char('m'),
|
|
|
|
|
reply |> "Reply to envelope." |> Key::Char('R'),
|
|
|
|
@ -261,12 +261,12 @@ shortcut_key_values! { "thread-view",
|
|
|
|
|
pub struct ThreadViewShortcuts {
|
|
|
|
|
scroll_up |> "Scroll up list." |> Key::Char('k'),
|
|
|
|
|
scroll_down |> "Scroll down list." |> Key::Char('j'),
|
|
|
|
|
collapse_subtree |> "collapse thread branches" |> Key::Char('h'),
|
|
|
|
|
collapse_subtree |> "collapse thread branches." |> Key::Char('h'),
|
|
|
|
|
next_page |> "Go to next page." |> Key::PageDown,
|
|
|
|
|
prev_page |> "Go to previous page." |> Key::PageUp,
|
|
|
|
|
reverse_thread_order |> "reverse thread order" |> Key::Ctrl('r'),
|
|
|
|
|
toggle_mailview |> "toggle mail view visibility" |> Key::Char('p'),
|
|
|
|
|
toggle_threadview |> "toggle thread view visibility" |> Key::Char('t'),
|
|
|
|
|
reverse_thread_order |> "reverse thread order." |> Key::Ctrl('r'),
|
|
|
|
|
toggle_mailview |> "toggle mail view visibility." |> Key::Char('p'),
|
|
|
|
|
toggle_threadview |> "toggle thread view visibility." |> Key::Char('t'),
|
|
|
|
|
toggle_layout |> "Toggle between horizontal and vertical layout." |> Key::Char(' ')
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|