aboutsummaryrefslogtreecommitdiff
path: root/modules/mutt/mutt.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-01 01:25:10 -0200
commit6b9187673ee62d11042832f938913f15131592a7 (patch)
tree9e70016667efe273a72ab351aafaddbdb099e123 /modules/mutt/mutt.dot.link
parent25235935e6c90557a4d6791c8d8f3a5cdf89681a (diff)
downloaddotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.gz
dotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.bz2
Adding metadot script
Diffstat (limited to 'modules/mutt/mutt.dot.link')
-rw-r--r--modules/mutt/mutt.dot.link/colors90
-rw-r--r--modules/mutt/mutt.dot.link/sidebar53
2 files changed, 143 insertions, 0 deletions
diff --git a/modules/mutt/mutt.dot.link/colors b/modules/mutt/mutt.dot.link/colors
new file mode 100644
index 0000000..c0a01db
--- /dev/null
+++ b/modules/mutt/mutt.dot.link/colors
@@ -0,0 +1,90 @@
+#
+# colors configuration
+#
+
+#color attachment brightmagenta black # guess :-)
+#color error brightwhite red # errors yell at you in red
+#color hdrdefault red black # headers
+#color indicator brightyellow red # currently selected message, etc
+#color markers brightcyan black # the + for wrapped pager lines
+#color message brightcyan black # informational messages, *not mail*
+#color normal white black # plain text
+#color quoted green black # quoted text
+#color search brightgreen black # hilite search patterns in the pager
+#color signature red black # signature (after "-- ") is red
+#color status brightyellow blue # status bar is yellow *on blue*
+#color tilde blue black # ~'s after message body
+#color tree red black # thread tree in index menu is magenta
+
+color normal brightwhite default
+color indicator brightyellow red
+color status white blue
+color hdrdefault cyan default
+color header brightyellow default ^Subject:
+color header brightgreen default ^From:
+color quoted cyan default
+color quoted1 green default
+color quoted2 cyan default
+color quoted3 green default
+color attachment yellow default
+color signature magenta default
+color tree red default
+color tilde blue default
+color markers red default
+color error red default
+# hiliting bold patterns in body
+color bold red default
+# hiliting underlined patterns in body
+color underline green default
+
+# INDEX
+##############################################################################
+
+# unread messages
+color index brightyellow black ~U
+# new messages
+color index brightyellow black ~N
+# message in reply to mines
+#folder-hook . 'color index brightyellow black "~h @kiwi.shadow.net"'
+#folder-hook (Inbox*|Outbox*) 'uncolor index brightyellow black "~h @kiwi.shadow.net"'
+# my emails
+folder-hook . 'color index yellow black ~P'
+# don't highlight them in Outbox*
+folder-hook (Outbox*|Draft|Outgoing) 'uncolor index ~P'
+# mulherio emails
+#color index green black "~f check@thisperson.org"
+#color index green black "~f check@thisperson.org"
+# the message contains a virus
+color index blue black "~h X-Virus-Catched:"
+# flagged messages
+color index cyan black ~F
+# tagged messages
+color index blue cyan ~T
+# the message is spam
+color index brightwhite blue "~h X-Bogosity:\\ Yes"
+color index brightwhite red "~h X-Bogosity:\\ Unsure ~U"
+# deleted messages
+color index brightblack black ~D
+# deleted spam messages
+color index brightblack blue "~h 'X-Bogosity:\\ Yes' ~D"
+# mine deleted messages
+color index brightblack black "~D ~P"
+
+
+# BODY
+###############################################################################
+
+# url
+color body red black "((ftp|http|https)://|(file|news):|www\\.|ftp\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" # url
+# email address
+color body red black "[-a-z_0-9.]+@[-a-z_0-9.]+"
+# smiles
+# color body yellow black "[#](:|;)[-^]?[][)(><}{|/DP]"
+color body brightyellow black "[;:]-{0,1}[)/(PD|]"
+# bold text using <b> </b>
+color body yellow black "<b>.+</b>"
+
+# pgp headers
+color body green black "-----END PGP .*-----"
+color body green black "-----BEGIN PGP .*-----"
+
diff --git a/modules/mutt/mutt.dot.link/sidebar b/modules/mutt/mutt.dot.link/sidebar
new file mode 100644
index 0000000..248b152
--- /dev/null
+++ b/modules/mutt/mutt.dot.link/sidebar
@@ -0,0 +1,53 @@
+#
+# http://www.die-welt.net/2011/02/desktop-in-a-shell-mutt/
+# http://www.debian-administration.org/articles/523
+# http://www.lunar-linux.org/mutt-sidebar/
+#
+
+# set up the sidebar, default not visible
+set sidebar_width=20
+set sidebar_visible=no
+set sidebar_delim='|'
+set sidebar_sort=yes
+
+# which mailboxes to list in the sidebar
+mailboxes =inbox =ml
+
+# color of folders with new mail
+color sidebar_new yellow default
+
+# ctrl-n, ctrl-p to select next, prev folder
+# ctrl-o to open selected folder
+#bind index CP sidebar-prev
+#bind index CN sidebar-next
+#bind index CO sidebar-open
+#bind pager CP sidebar-prev
+#bind pager CN sidebar-next
+#bind pager CO sidebar-open
+bind index \Cp sidebar-prev
+bind index \Cn sidebar-next
+bind index \Co sidebar-open
+bind pager \Cp sidebar-prev
+bind pager \Cn sidebar-next
+bind pager \Co sidebar-open
+
+# I don’t need these. just for documentation purposes. See below.
+# sidebar-scroll-up
+# sidebar-scroll-down
+
+# b toggles sidebar visibility
+#macro index b ‘<enter-command>toggle sidebar_visible<enter>’
+#macro pager b ‘<enter-command>toggle sidebar_visible<enter>’
+#macro index b 'toggle sidebar_visible'
+#macro pager b 'toggle sidebar_visible'
+macro index \Cb '<enter-command>toggle sidebar_visible<enter><refresh>'
+macro pager \Cb '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
+
+# Remap bounce-message function to “B”
+bind index B bounce-message
+
+#
+# Mario Holbe suggests:
+# macro index b ‘<enter-command>toggle sidebar_visible<enter><refresh>’
+# macro pager b ‘<enter-command>toggle sidebar_visible<enter><redraw-screen>’
+#