aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--alias2
-rw-r--r--muttrc46
2 files changed, 27 insertions, 21 deletions
diff --git a/alias b/alias
index 6114d73..c59f317 100644
--- a/alias
+++ b/alias
@@ -460,7 +460,7 @@ ssh.up() {
460} 460}
461ssh.up.today() { 461ssh.up.today() {
462 DATE=$(date --iso-8601) 462 DATE=$(date --iso-8601)
463 ssh topo mkdir ~/public/$DATE 463 ssh topo mkdir -p ~/public/$DATE
464 ssh.up "$1" $DATE 464 ssh.up "$1" $DATE
465} 465}
466ssh.down() { 466ssh.down() {
diff --git a/muttrc b/muttrc
index cc6d992..ff4496a 100644
--- a/muttrc
+++ b/muttrc
@@ -16,6 +16,7 @@ set move = yes
16set record = "+Sent" 16set record = "+Sent"
17set trash = "+Trash" 17set trash = "+Trash"
18set postponed = "+Drafts" 18set postponed = "+Drafts"
19set index_format = "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
19 20
20set pgp_use_gpg_agent=yes 21set pgp_use_gpg_agent=yes
21set crypt_use_gpgme=yes 22set 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
42bind pager G bottom
43bind pager g noop
44bind pager gg top
45bind pager j next-line
46bind pager k previous-line
47bind pager \cf next-page
48bind pager \cb previous-page
49bind pager \cd half-down
50bind pager \cu half-up
51bind pager \cj next-entry
52bind pager \ck previous-entry
53bind index <Return> sync-mailbox 43bind index <Return> sync-mailbox
54bind index q browse-mailboxes 44bind index q browse-mailboxes
45bind index y edit-label
46bind index x tag-entry
47bind index t edit-label
55bind index \cl limit 48bind index \cl limit
56bind index \cj next-entry 49bind index \cj next-entry
57bind index \ck previous-entry 50bind index \ck previous-entry
@@ -64,10 +57,22 @@ bind index \cb previous-page
64bind index \cd half-down 57bind index \cd half-down
65bind index \cu half-up 58bind index \cu half-up
66bind index } bottom-page 59bind index } bottom-page
67bind index x tag-entry 60bind pager G bottom
61bind pager g noop
62bind pager gg top
63bind pager j next-line
64bind pager k previous-line
65bind pager \cf next-page
66bind pager \cb previous-page
67bind pager \cd half-down
68bind pager \cu half-up
69bind pager \cj next-entry
70bind pager \ck previous-entry
68bind attach x view-mailcap 71bind attach x view-mailcap
69macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file" 72macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's configuration file"
70macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" 73macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox"
74macro index *a "Tall\n" "Select All"
75macro index *n "\ctall\n" "Deselect All"
71 76
72# Sidebar 77# Sidebar
73mailboxes =INBOX =mbox "+---------- Watch ----------" =pay =osm =keep "+-------- Processed --------" =Sent =Trash =Drafts 78mailboxes =INBOX =mbox "+---------- Watch ----------" =pay =osm =keep "+-------- Processed --------" =Sent =Trash =Drafts
@@ -123,20 +128,21 @@ color index red black "~F~p" #
123color index red black "~N~F" # new flagged messages 128color index red black "~N~F" # new flagged messages
124color index red black "~N~F~p" # new flagged messages to me 129color index red black "~N~F~p" # new flagged messages to me
125color index red black "~U~F~p" # new flagged messages to me 130color index red black "~U~F~p" # new flagged messages to me
131color index brightgreen black "~T" # tagged messages
126color index black brightmagenta "~D" # deleted messages 132color index black brightmagenta "~D" # deleted messages
127color index white black "~v~(!~N!~O)" # collapsed thread with no unread 133color index white black "~v~(!~N!~O)" # collapsed thread with no unread
128color index magenta black "~v~(~N|~O)" # collapsed thread with some unread 134color index magenta black "~v~(~N|~O)" # collapsed thread with some unread
129color index magenta black "~N~v~(~N)" # collapsed thread with unread parent 135color index magenta black "~N~v~(~N)" # collapsed thread with unread parent
130color index red white "~v~(~F)!~N" # collapsed thread with flagged, no unread 136color index red white "~v~(~F)!~N" # collapsed thread with flagged, no unread
131color index yellow white "~v~(~F~N)" # collapsed thread with some unread & flagged 137color index yellow white "~v~(~F~N)" # collapsed thread with some unread & flagged
132color index green white "~N~v~(~F~N)" # collapsed thread with unread parent & flagged 138color index green white "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
133color index green white "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged 139color index green white "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
134color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial) 140color 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
139color header green black "^(From)" 145color header green black "^(From)"
140color header brightyellow black "^(Subject)" 146color header brightyellow black "^(Subject)"
141 147
142# Set quote's starting symbol 148# Set quote's starting symbol