From cb404dfe7cc98e955cedc1753efac494a60a3ec6 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 21 Apr 2019 07:41:07 -0400 Subject: [PATCH] h/l to enter/exit mail/attach --- README.md | 10 +++++----- muttrc | 6 ++++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 17d6f2d..9ae00e8 100644 --- a/README.md +++ b/README.md @@ -49,16 +49,16 @@ To give you an example of the interface, here's an idea: - `m` - send mail (uses your default `$EDITOR` to write) - `j`/`k` and `d`/`u` - vim-like bindings to go down and up (or `d`/`u` to go down/up a page). -- `Enter` - read mail -- `r` - reply to highlighted mail -- `R` - reply all to highlighted mail -- `v` - view attachments to select and open them `s` to save, `Enter` to open. +- `l` - open mail, or attachment page or attachment +- `h` - the opposite of `l` +- `r`/`R` - reply/reply all to highlighted mail +- `s` - save selected mail or selected attachment - `gs`,`gi`,`ga`,`gd`,`gS` - Press `g` followed by another letter to change mailbox: `s`ent, `i`nbox, `a`rchive, `d`rafts, `S`pam, etc. - `M` and `C` - For `M`ove and `C`opy: follow them with one of the mailbox letters above, i.e. `MS` means "move to Spam". - `i#` - Press `i` followed by a number 1-9 to go to a different account. If you add 9 accounts via mutt-wizard, they will each be assigned a number. - `a` to add address/person to abook and `Tab` while typing address to complete one from book. - `?` - see all keyboard shortcuts - +- `ctrl-j`/`ctrl-k` - move up and down in sidebar, `ctrl-o` opens mailbox ## New stuff and improvements since the original release diff --git a/muttrc b/muttrc index 54b42ff..e1a54a8 100644 --- a/muttrc +++ b/muttrc @@ -27,13 +27,19 @@ bind index \Cf noop # General rebindings bind attach view-mailcap +bind attach l view-mailcap bind editor noop bind index G last-entry bind index gg first-entry +bind pager,attach h exit bind pager j next-line bind pager k previous-line +bind pager l view-attachments bind index D delete-message bind index U undelete-message +bind index L limit +bind index h noop +bind index l display-message bind browser h goto-parent bind browser l select-entry bind pager,browser gg top-page