diff options
Diffstat (limited to 'muttrc')
| -rw-r--r-- | muttrc | 46 |
1 files changed, 26 insertions, 20 deletions
| @@ -16,6 +16,7 @@ set move = yes | |||
| 16 | set record = "+Sent" | 16 | set record = "+Sent" |
| 17 | set trash = "+Trash" | 17 | set trash = "+Trash" |
| 18 | set postponed = "+Drafts" | 18 | set postponed = "+Drafts" |
| 19 | set index_format = "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" | ||
| 19 | 20 | ||
| 20 | set pgp_use_gpg_agent=yes | 21 | set pgp_use_gpg_agent=yes |
| 21 | set crypt_use_gpgme=yes | 22 | set crypt_use_gpgme=yes |
| @@ -39,19 +40,11 @@ set markers = no # Remove '+' for long links with multiple lines | |||
| 39 | 40 | ||
| 40 | # Vim-style key binding, \c means Ctrl | 41 | # Vim-style key binding, \c means Ctrl |
| 41 | # ref: https://fancyseeker.github.io/2015/08/19/mutt/#vim%E9%A3%8E%E6%A0%BC%E9%94%AE%E4%BD%8D%E7%BB%91%E5%AE%9A | 42 | # ref: https://fancyseeker.github.io/2015/08/19/mutt/#vim%E9%A3%8E%E6%A0%BC%E9%94%AE%E4%BD%8D%E7%BB%91%E5%AE%9A |
| 42 | bind pager G bottom | ||
| 43 | bind pager g noop | ||
| 44 | bind pager gg top | ||
| 45 | bind pager j next-line | ||
| 46 | bind pager k previous-line | ||
| 47 | bind pager \cf next-page | ||
| 48 | bind pager \cb previous-page | ||
| 49 | bind pager \cd half-down | ||
| 50 | bind pager \cu half-up | ||
| 51 | bind pager \cj next-entry | ||
| 52 | bind pager \ck previous-entry | ||
| 53 | bind index <Return> sync-mailbox | 43 | bind index <Return> sync-mailbox |
| 54 | bind index q browse-mailboxes | 44 | bind index q browse-mailboxes |
| 45 | bind index y edit-label | ||
| 46 | bind index x tag-entry | ||
| 47 | bind index t edit-label | ||
| 55 | bind index \cl limit | 48 | bind index \cl limit |
| 56 | bind index \cj next-entry | 49 | bind index \cj next-entry |
| 57 | bind index \ck previous-entry | 50 | bind index \ck previous-entry |
| @@ -64,10 +57,22 @@ bind index \cb previous-page | |||
| 64 | bind index \cd half-down | 57 | bind index \cd half-down |
| 65 | bind index \cu half-up | 58 | bind index \cu half-up |
| 66 | bind index } bottom-page | 59 | bind index } bottom-page |
| 67 | bind index x tag-entry | 60 | bind pager G bottom |
| 61 | bind pager g noop | ||
| 62 | bind pager gg top | ||
| 63 | bind pager j next-line | ||
| 64 | bind pager k previous-line | ||
| 65 | bind pager \cf next-page | ||
| 66 | bind pager \cb previous-page | ||
| 67 | bind pager \cd half-down | ||
| 68 | bind pager \cu half-up | ||
| 69 | bind pager \cj next-entry | ||
| 70 | bind pager \ck previous-entry | ||
| 68 | bind attach x view-mailcap | 71 | bind attach x view-mailcap |
| 69 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" | 72 | macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" |
| 70 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" | 73 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" |
| 74 | macro index *a "Tall\n" "Select All" | ||
| 75 | macro index *n "\ctall\n" "Deselect All" | ||
| 71 | 76 | ||
| 72 | # Sidebar | 77 | # Sidebar |
| 73 | mailboxes =INBOX =mbox "+---------- Watch ----------" =pay =osm =keep "+-------- Processed --------" =Sent =Trash =Drafts | 78 | mailboxes =INBOX =mbox "+---------- Watch ----------" =pay =osm =keep "+-------- Processed --------" =Sent =Trash =Drafts |
| @@ -123,20 +128,21 @@ color index red black "~F~p" # | |||
| 123 | color index red black "~N~F" # new flagged messages | 128 | color index red black "~N~F" # new flagged messages |
| 124 | color index red black "~N~F~p" # new flagged messages to me | 129 | color index red black "~N~F~p" # new flagged messages to me |
| 125 | color index red black "~U~F~p" # new flagged messages to me | 130 | color index red black "~U~F~p" # new flagged messages to me |
| 131 | color index brightgreen black "~T" # tagged messages | ||
| 126 | color index black brightmagenta "~D" # deleted messages | 132 | color index black brightmagenta "~D" # deleted messages |
| 127 | color index white black "~v~(!~N!~O)" # collapsed thread with no unread | 133 | color index white black "~v~(!~N!~O)" # collapsed thread with no unread |
| 128 | color index magenta black "~v~(~N|~O)" # collapsed thread with some unread | 134 | color index magenta black "~v~(~N|~O)" # collapsed thread with some unread |
| 129 | color index magenta black "~N~v~(~N)" # collapsed thread with unread parent | 135 | color index magenta black "~N~v~(~N)" # collapsed thread with unread parent |
| 130 | color index red white "~v~(~F)!~N" # collapsed thread with flagged, no unread | 136 | color index red white "~v~(~F)!~N" # collapsed thread with flagged, no unread |
| 131 | color index yellow white "~v~(~F~N)" # collapsed thread with some unread & flagged | 137 | color index yellow white "~v~(~F~N)" # collapsed thread with some unread & flagged |
| 132 | color index green white "~N~v~(~F~N)" # collapsed thread with unread parent & flagged | 138 | color index green white "~N~v~(~F~N)" # collapsed thread with unread parent & flagged |
| 133 | color index green white "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged | 139 | color index green white "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged |
| 134 | color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial) | 140 | color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial) |
| 135 | 141 | ||
| 136 | # Highlight mail header ------------------------------------------ | 142 | # Highlight mail header ------------------------------------------ |
| 137 | 143 | ||
| 138 | # color header | 144 | # color header |
| 139 | color header green black "^(From)" | 145 | color header green black "^(From)" |
| 140 | color header brightyellow black "^(Subject)" | 146 | color header brightyellow black "^(Subject)" |
| 141 | 147 | ||
| 142 | # Set quote's starting symbol | 148 | # Set quote's starting symbol |