Adding a bunch more mutt stuff to dotfiles. Small updates to vimrc, zshrc. Adding urlview.
This commit is contained in:
parent
e43c8e0f36
commit
0082054c52
12 changed files with 440 additions and 58 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,3 +3,4 @@ weechat/logs/*
|
||||||
vim/.netrwhist
|
vim/.netrwhist
|
||||||
vim/bundle/*
|
vim/bundle/*
|
||||||
!vim/bundle/vundle/*
|
!vim/bundle/vundle/*
|
||||||
|
mutt/hcache
|
||||||
|
|
|
||||||
120
Xresources
120
Xresources
|
|
@ -1,4 +1,6 @@
|
||||||
! General
|
! General
|
||||||
|
|
||||||
|
! Urxvt
|
||||||
urxvt*loginShell: true
|
urxvt*loginShell: true
|
||||||
urxvt*scrollBar: false
|
urxvt*scrollBar: false
|
||||||
urxvt*secondaryScroll: true
|
urxvt*secondaryScroll: true
|
||||||
|
|
@ -8,7 +10,7 @@ urxvt*urgentOnBell: true
|
||||||
urxvt*urlLauncher: /usr/bin/luakit
|
urxvt*urlLauncher: /usr/bin/luakit
|
||||||
!urxvt*termName: xterm-256color
|
!urxvt*termName: xterm-256color
|
||||||
!urxvt*termName: rxvt-256color
|
!urxvt*termName: rxvt-256color
|
||||||
urxvt*termName: rxvt-unicode
|
urxvt*termName: rxvt-unicode-256color
|
||||||
|
|
||||||
! Font
|
! Font
|
||||||
!urxvt*font: xft:DejaVu Sans Mono:pixelsize=10:antialias=true:hinting=true
|
!urxvt*font: xft:DejaVu Sans Mono:pixelsize=10:antialias=true:hinting=true
|
||||||
|
|
@ -28,20 +30,104 @@ urxvt*depth: 32
|
||||||
urxvt*foreground: #FFFFFF
|
urxvt*foreground: #FFFFFF
|
||||||
urxvt*background: rgba:0000/0000/0000/ee00
|
urxvt*background: rgba:0000/0000/0000/ee00
|
||||||
|
|
||||||
*color0: #1c1c1c
|
!*color0: #1c1c1c
|
||||||
*color8: #3d3a3a
|
!*color8: #3d3a3a
|
||||||
*color1: #d770af
|
!*color1: #d770af
|
||||||
*color9: #d28abf
|
!*color9: #d28abf
|
||||||
*color2 : #9acc79
|
!*color2 : #9acc79
|
||||||
*color10: #8fb676
|
!*color10: #8fb676
|
||||||
*color3: #d0d26b
|
!*color3: #d0d26b
|
||||||
*color11: #c8bc45
|
!*color11: #c8bc45
|
||||||
*color4 : #77b6c5
|
!*color4 : #77b6c5
|
||||||
*color12: #8fa7b9
|
!*color12: #8fa7b9
|
||||||
*color5: #a488d9
|
!*color5: #a488d9
|
||||||
*color13: #bd89de
|
!*color13: #bd89de
|
||||||
*color6: #7fcab3
|
!*color6: #7fcab3
|
||||||
*color14: #6ec2a8
|
!*color14: #6ec2a8
|
||||||
*color7: #8d8d8d
|
!*color7: #8d8d8d
|
||||||
*color15: #dad3d3
|
!*color15: #dad3d3
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
!! drop in Solarized colorscheme for Xresources
|
||||||
|
!!
|
||||||
|
!! ## Installation
|
||||||
|
!! 1) Write to $HOME/.Xresources
|
||||||
|
!! 2) If not using Xsession, you must add the line `xrdb -merge ~/.Xresources`
|
||||||
|
!! to `.xinitrc`. See http://manpages.ubuntu.com/Xsession for more details.
|
||||||
|
!!
|
||||||
|
!!SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB
|
||||||
|
!!--------- ------- ---- ------- ----------- ---------- ----------- -----------
|
||||||
|
!!base03 #002b36 8/4 brblack 234 #1c1c1c 15 -12 -12 0 43 54 193 100 21
|
||||||
|
!!base02 #073642 0/4 black 235 #262626 20 -12 -12 7 54 66 192 90 26
|
||||||
|
!!base01 #586e75 10/7 brgreen 240 #585858 45 -07 -07 88 110 117 194 25 46
|
||||||
|
!!base00 #657b83 11/7 bryellow 241 #626262 50 -07 -07 101 123 131 195 23 51
|
||||||
|
!!base0 #839496 12/6 brblue 244 #808080 60 -06 -03 131 148 150 186 13 59
|
||||||
|
!!base1 #93a1a1 14/4 brcyan 245 #8a8a8a 65 -05 -02 147 161 161 180 9 63
|
||||||
|
!!base2 #eee8d5 7/7 white 254 #e4e4e4 92 -00 10 238 232 213 44 11 93
|
||||||
|
!!base3 #fdf6e3 15/7 brwhite 230 #ffffd7 97 00 10 253 246 227 44 10 99
|
||||||
|
!!yellow #b58900 3/3 yellow 136 #af8700 60 10 65 181 137 0 45 100 71
|
||||||
|
!!orange #cb4b16 9/3 brred 166 #d75f00 50 50 55 203 75 22 18 89 80
|
||||||
|
!!red #dc322f 1/1 red 160 #d70000 50 65 45 220 50 47 1 79 86
|
||||||
|
!!magenta #d33682 5/5 magenta 125 #af005f 50 65 -05 211 54 130 331 74 83
|
||||||
|
!!violet #6c71c4 13/5 brmagenta 61 #5f5faf 50 15 -45 108 113 196 237 45 77
|
||||||
|
!!blue #268bd2 4/4 blue 33 #0087ff 55 -10 -45 38 139 210 205 82 82
|
||||||
|
!!cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63
|
||||||
|
!!green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60
|
||||||
|
|
||||||
|
#define S_base03 #002b36
|
||||||
|
#define S_base02 #073642
|
||||||
|
#define S_base01 #586e75
|
||||||
|
#define S_base00 #657b83
|
||||||
|
#define S_base0 #839496
|
||||||
|
#define S_base1 #93a1a1
|
||||||
|
#define S_base2 #eee8d5
|
||||||
|
#define S_base3 #fdf6e3
|
||||||
|
#define S_yellow #b58900
|
||||||
|
#define S_orange #cb4b16
|
||||||
|
#define S_red #dc322f
|
||||||
|
#define S_magenta #d33682
|
||||||
|
#define S_violet #6c71c4
|
||||||
|
#define S_blue #268bd2
|
||||||
|
#define S_cyan #2aa198
|
||||||
|
#define S_green #859900
|
||||||
|
|
||||||
|
!*background: S_base03
|
||||||
|
!*foreground: S_base0
|
||||||
|
*fading: 40
|
||||||
|
*fadeColor: S_base03
|
||||||
|
*cursorColor: S_base1
|
||||||
|
*pointerColorBackground:S_base01
|
||||||
|
*pointerColorForeground:S_base1
|
||||||
|
|
||||||
|
!! black dark/light
|
||||||
|
*color0: S_base02
|
||||||
|
*color8: S_base03
|
||||||
|
|
||||||
|
!! red dark/light
|
||||||
|
*color1: S_red
|
||||||
|
*color9: S_orange
|
||||||
|
|
||||||
|
!! green dark/light
|
||||||
|
*color2: S_green
|
||||||
|
*color10: S_base01
|
||||||
|
|
||||||
|
!! yellow dark/light
|
||||||
|
*color3: S_yellow
|
||||||
|
*color11: S_base00
|
||||||
|
|
||||||
|
!! blue dark/light
|
||||||
|
*color4: S_blue
|
||||||
|
*color12: S_base0
|
||||||
|
|
||||||
|
!! magenta dark/light
|
||||||
|
*color5: S_magenta
|
||||||
|
*color13: S_violet
|
||||||
|
|
||||||
|
!! cyan dark/light
|
||||||
|
*color6: S_cyan
|
||||||
|
*color14: S_base1
|
||||||
|
|
||||||
|
!! white dark/light
|
||||||
|
*color7: S_base2
|
||||||
|
*color15: S_base3
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
macro pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview'
|
macro index,pager \cb <pipe-entry>'urlscan'<enter> 'Follow links with urlview'
|
||||||
|
macro attach,compose \cb <pipe-entry>'urlscan'<enter> 'Follow links with urlview'
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
|
text/html; luakit %s &; test=test -n "%DISPLAY"; needsterminal;
|
||||||
text/html; w3m -I %{charset} -T text/html; copiousoutput;
|
text/html; w3m -I %{charset} -T text/html; copiousoutput;
|
||||||
|
|
|
||||||
151
mutt/mutt-colors-solarized-dark-16.muttrc
Normal file
151
mutt/mutt-colors-solarized-dark-16.muttrc
Normal file
|
|
@ -0,0 +1,151 @@
|
||||||
|
# vim: filetype=muttrc
|
||||||
|
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# make sure that you are using mutt linked against slang, not ncurses, or
|
||||||
|
# suffer the consequences of weird color issues. use "mutt -v" to check this.
|
||||||
|
|
||||||
|
# custom body highlights -----------------------------------------------
|
||||||
|
# highlight my name and other personally relevant strings
|
||||||
|
#color body yellow default "(ethan|schoonover)"
|
||||||
|
# custom index highlights ----------------------------------------------
|
||||||
|
# messages which mention my name in the body
|
||||||
|
#color index yellow default "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
|
||||||
|
#color index J_cream brightwhite "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P"
|
||||||
|
#color index yellow cyan "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P"
|
||||||
|
#color index yellow J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P"
|
||||||
|
## messages which are in reference to my mails
|
||||||
|
#color index J_magent default "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
|
||||||
|
#color index J_magent brightwhite "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
|
||||||
|
#color index J_magent cyan "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
|
||||||
|
#color index J_magent red "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
|
||||||
|
|
||||||
|
# for background in 16 color terminal, valid background colors include:
|
||||||
|
# base03, bg, black, any of the non brights
|
||||||
|
|
||||||
|
# basic colors ---------------------------------------------------------
|
||||||
|
color normal brightyellow default
|
||||||
|
color error red default
|
||||||
|
color tilde black default
|
||||||
|
color message cyan default
|
||||||
|
color markers red white
|
||||||
|
color attachment white default
|
||||||
|
color search brightmagenta default
|
||||||
|
#color status J_black J_status
|
||||||
|
color status brightyellow black
|
||||||
|
color indicator brightblack yellow
|
||||||
|
color tree yellow default # arrow in threads
|
||||||
|
|
||||||
|
# basic monocolor screen
|
||||||
|
mono bold bold
|
||||||
|
mono underline underline
|
||||||
|
mono indicator reverse
|
||||||
|
mono error bold
|
||||||
|
|
||||||
|
# index ----------------------------------------------------------------
|
||||||
|
|
||||||
|
#color index red default "~D(!~p|~p)" # deleted
|
||||||
|
#color index black default ~F # flagged
|
||||||
|
#color index brightred default ~= # duplicate messages
|
||||||
|
#color index brightgreen default "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
|
||||||
|
#color index J_base default "~A~N!~T!~p!~Q!~F!~D" # the rest, new
|
||||||
|
color index red default "~A" # all messages
|
||||||
|
color index brightred default "~E" # expired messages
|
||||||
|
color index blue default "~N" # new messages
|
||||||
|
color index blue default "~O" # old messages
|
||||||
|
color index brightmagenta default "~Q" # messages that have been replied to
|
||||||
|
color index brightgreen default "~R" # read messages
|
||||||
|
color index blue default "~U" # unread messages
|
||||||
|
color index blue default "~U~$" # unread, unreferenced messages
|
||||||
|
color index brightyellow default "~v" # messages part of a collapsed thread
|
||||||
|
color index brightyellow default "~P" # messages from me
|
||||||
|
color index cyan default "~p!~F" # messages to me
|
||||||
|
color index cyan default "~N~p!~F" # new messages to me
|
||||||
|
color index cyan default "~U~p!~F" # unread messages to me
|
||||||
|
color index brightgreen default "~R~p!~F" # messages to me
|
||||||
|
color index red default "~F" # flagged messages
|
||||||
|
color index red default "~F~p" # flagged messages to me
|
||||||
|
color index red default "~N~F" # new flagged messages
|
||||||
|
color index red default "~N~F~p" # new flagged messages to me
|
||||||
|
color index red default "~U~F~p" # new flagged messages to me
|
||||||
|
color index black red "~D" # deleted messages
|
||||||
|
color index brightcyan default "~v~(!~N)" # collapsed thread with no unread
|
||||||
|
color index yellow default "~v~(~N)" # collapsed thread with some unread
|
||||||
|
color index green default "~N~v~(~N)" # collapsed thread with unread parent
|
||||||
|
# statusbg used to indicated flagged when foreground color shows other status
|
||||||
|
# for collapsed thread
|
||||||
|
color index red black "~v~(~F)!~N" # collapsed thread with flagged, no unread
|
||||||
|
color index yellow black "~v~(~F~N)" # collapsed thread with some unread & flagged
|
||||||
|
color index green black "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
|
||||||
|
color index green black "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
|
||||||
|
color index cyan black "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
|
||||||
|
color index yellow red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
|
||||||
|
#color index yellow default "~(~N)" # messages in threads with some unread
|
||||||
|
#color index green default "~S" # superseded messages
|
||||||
|
#color index red default "~T" # tagged messages
|
||||||
|
#color index brightred red "~=" # duplicated messages
|
||||||
|
|
||||||
|
# message headers ------------------------------------------------------
|
||||||
|
|
||||||
|
#color header brightgreen default "^"
|
||||||
|
color hdrdefault brightgreen default
|
||||||
|
color header brightyellow default "^(From)"
|
||||||
|
color header blue default "^(Subject)"
|
||||||
|
|
||||||
|
# body -----------------------------------------------------------------
|
||||||
|
|
||||||
|
color quoted blue default
|
||||||
|
color quoted1 cyan default
|
||||||
|
color quoted2 yellow default
|
||||||
|
color quoted3 red default
|
||||||
|
color quoted4 brightred default
|
||||||
|
|
||||||
|
color signature brightgreen default
|
||||||
|
color bold black default
|
||||||
|
color underline black default
|
||||||
|
color normal default default
|
||||||
|
#
|
||||||
|
color body brightcyan default "[;:][-o][)/(|]" # emoticons
|
||||||
|
color body brightcyan default "[;:][)(|]" # emoticons
|
||||||
|
color body brightcyan default "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
|
||||||
|
|FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
|
||||||
|
|IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
|
||||||
|
color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
|
||||||
|
color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
|
||||||
|
|
||||||
|
## pgp
|
||||||
|
|
||||||
|
color body red default "(BAD signature)"
|
||||||
|
color body cyan default "(Good signature)"
|
||||||
|
color body brightblack default "^gpg: Good signature .*"
|
||||||
|
color body brightyellow default "^gpg: "
|
||||||
|
color body brightyellow red "^gpg: BAD signature from.*"
|
||||||
|
mono body bold "^gpg: Good signature"
|
||||||
|
mono body bold "^gpg: BAD signature from.*"
|
||||||
|
|
||||||
|
# yes, an insance URL regex
|
||||||
|
color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
|
||||||
|
# and a heavy handed email regex
|
||||||
|
#color body J_magent default "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
|
||||||
|
|
||||||
|
# Various smilies and the like
|
||||||
|
#color body brightwhite default "<[Gg]>" # <g>
|
||||||
|
#color body brightwhite default "<[Bb][Gg]>" # <bg>
|
||||||
|
#color body yellow default " [;:]-*[})>{(<|]" # :-) etc...
|
||||||
|
# *bold*
|
||||||
|
#color body blue default "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
|
||||||
|
#mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
|
||||||
|
# _underline_
|
||||||
|
#color body blue default "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
|
||||||
|
#mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
|
||||||
|
# /italic/ (Sometimes gets directory names)
|
||||||
|
#color body blue default "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
|
||||||
|
#mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
|
||||||
|
|
||||||
|
# Border lines.
|
||||||
|
#color body blue default "( *[-+=#*~_]){6,}"
|
||||||
|
|
||||||
|
#folder-hook . "color status J_black J_status "
|
||||||
|
#folder-hook gmail/inbox "color status J_black yellow "
|
||||||
|
#folder-hook gmail/important "color status J_black yellow "
|
||||||
|
|
||||||
151
mutt/mutt-colors-solarized-dark-256.muttrc
Normal file
151
mutt/mutt-colors-solarized-dark-256.muttrc
Normal file
|
|
@ -0,0 +1,151 @@
|
||||||
|
# vim: filetype=muttrc
|
||||||
|
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# make sure that you are using mutt linked against slang, not ncurses, or
|
||||||
|
# suffer the consequences of weird color issues. use "mutt -v" to check this.
|
||||||
|
|
||||||
|
# custom body highlights -----------------------------------------------
|
||||||
|
# highlight my name and other personally relevant strings
|
||||||
|
#color body color136 color234 "(ethan|schoonover)"
|
||||||
|
# custom index highlights ----------------------------------------------
|
||||||
|
# messages which mention my name in the body
|
||||||
|
#color index color136 color234 "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
|
||||||
|
#color index J_cream color230 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P"
|
||||||
|
#color index color136 color37 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P"
|
||||||
|
#color index color136 J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P"
|
||||||
|
## messages which are in reference to my mails
|
||||||
|
#color index J_magent color234 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
|
||||||
|
#color index J_magent color230 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
|
||||||
|
#color index J_magent color37 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
|
||||||
|
#color index J_magent color160 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
|
||||||
|
|
||||||
|
# for background in 16 color terminal, valid background colors include:
|
||||||
|
# base03, bg, black, any of the non brights
|
||||||
|
|
||||||
|
# basic colors ---------------------------------------------------------
|
||||||
|
color normal color241 color234
|
||||||
|
color error color160 color234
|
||||||
|
color tilde color235 color234
|
||||||
|
color message color37 color234
|
||||||
|
color markers color160 color254
|
||||||
|
color attachment color254 color234
|
||||||
|
color search color61 color234
|
||||||
|
#color status J_black J_status
|
||||||
|
color status color241 color235
|
||||||
|
color indicator color234 color136
|
||||||
|
color tree color136 color234 # arrow in threads
|
||||||
|
|
||||||
|
# basic monocolor screen
|
||||||
|
mono bold bold
|
||||||
|
mono underline underline
|
||||||
|
mono indicator reverse
|
||||||
|
mono error bold
|
||||||
|
|
||||||
|
# index ----------------------------------------------------------------
|
||||||
|
|
||||||
|
#color index color160 color234 "~D(!~p|~p)" # deleted
|
||||||
|
#color index color235 color234 ~F # flagged
|
||||||
|
#color index color166 color234 ~= # duplicate messages
|
||||||
|
#color index color240 color234 "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
|
||||||
|
#color index J_base color234 "~A~N!~T!~p!~Q!~F!~D" # the rest, new
|
||||||
|
color index color160 color234 "~A" # all messages
|
||||||
|
color index color166 color234 "~E" # expired messages
|
||||||
|
color index color33 color234 "~N" # new messages
|
||||||
|
color index color33 color234 "~O" # old messages
|
||||||
|
color index color61 color234 "~Q" # messages that have been replied to
|
||||||
|
color index color240 color234 "~R" # read messages
|
||||||
|
color index color33 color234 "~U" # unread messages
|
||||||
|
color index color33 color234 "~U~$" # unread, unreferenced messages
|
||||||
|
color index color241 color234 "~v" # messages part of a collapsed thread
|
||||||
|
color index color241 color234 "~P" # messages from me
|
||||||
|
color index color37 color234 "~p!~F" # messages to me
|
||||||
|
color index color37 color234 "~N~p!~F" # new messages to me
|
||||||
|
color index color37 color234 "~U~p!~F" # unread messages to me
|
||||||
|
color index color240 color234 "~R~p!~F" # messages to me
|
||||||
|
color index color160 color234 "~F" # flagged messages
|
||||||
|
color index color160 color234 "~F~p" # flagged messages to me
|
||||||
|
color index color160 color234 "~N~F" # new flagged messages
|
||||||
|
color index color160 color234 "~N~F~p" # new flagged messages to me
|
||||||
|
color index color160 color234 "~U~F~p" # new flagged messages to me
|
||||||
|
color index color235 color160 "~D" # deleted messages
|
||||||
|
color index color245 color234 "~v~(!~N)" # collapsed thread with no unread
|
||||||
|
color index color136 color234 "~v~(~N)" # collapsed thread with some unread
|
||||||
|
color index color64 color234 "~N~v~(~N)" # collapsed thread with unread parent
|
||||||
|
# statusbg used to indicated flagged when foreground color shows other status
|
||||||
|
# for collapsed thread
|
||||||
|
color index color160 color235 "~v~(~F)!~N" # collapsed thread with flagged, no unread
|
||||||
|
color index color136 color235 "~v~(~F~N)" # collapsed thread with some unread & flagged
|
||||||
|
color index color64 color235 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
|
||||||
|
color index color64 color235 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
|
||||||
|
color index color37 color235 "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
|
||||||
|
color index color136 color160 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
|
||||||
|
#color index color136 color234 "~(~N)" # messages in threads with some unread
|
||||||
|
#color index color64 color234 "~S" # superseded messages
|
||||||
|
#color index color160 color234 "~T" # tagged messages
|
||||||
|
#color index color166 color160 "~=" # duplicated messages
|
||||||
|
|
||||||
|
# message headers ------------------------------------------------------
|
||||||
|
|
||||||
|
#color header color240 color234 "^"
|
||||||
|
color hdrdefault color240 color234
|
||||||
|
color header color241 color234 "^(From)"
|
||||||
|
color header color33 color234 "^(Subject)"
|
||||||
|
|
||||||
|
# body -----------------------------------------------------------------
|
||||||
|
|
||||||
|
color quoted color33 color234
|
||||||
|
color quoted1 color37 color234
|
||||||
|
color quoted2 color136 color234
|
||||||
|
color quoted3 color160 color234
|
||||||
|
color quoted4 color166 color234
|
||||||
|
|
||||||
|
color signature color240 color234
|
||||||
|
color bold color235 color234
|
||||||
|
color underline color235 color234
|
||||||
|
color normal color244 color234
|
||||||
|
#
|
||||||
|
color body color245 color234 "[;:][-o][)/(|]" # emoticons
|
||||||
|
color body color245 color234 "[;:][)(|]" # emoticons
|
||||||
|
color body color245 color234 "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
|
||||||
|
|FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
|
||||||
|
|IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
|
||||||
|
color body color245 color234 "[ ][*][^*]*[*][ ]?" # more emoticon?
|
||||||
|
color body color245 color234 "[ ]?[*][^*]*[*][ ]" # more emoticon?
|
||||||
|
|
||||||
|
## pgp
|
||||||
|
|
||||||
|
color body color160 color234 "(BAD signature)"
|
||||||
|
color body color37 color234 "(Good signature)"
|
||||||
|
color body color234 color234 "^gpg: Good signature .*"
|
||||||
|
color body color241 color234 "^gpg: "
|
||||||
|
color body color241 color160 "^gpg: BAD signature from.*"
|
||||||
|
mono body bold "^gpg: Good signature"
|
||||||
|
mono body bold "^gpg: BAD signature from.*"
|
||||||
|
|
||||||
|
# yes, an insance URL regex
|
||||||
|
color body color160 color234 "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
|
||||||
|
# and a heavy handed email regex
|
||||||
|
#color body J_magent color234 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
|
||||||
|
|
||||||
|
# Various smilies and the like
|
||||||
|
#color body color230 color234 "<[Gg]>" # <g>
|
||||||
|
#color body color230 color234 "<[Bb][Gg]>" # <bg>
|
||||||
|
#color body color136 color234 " [;:]-*[})>{(<|]" # :-) etc...
|
||||||
|
# *bold*
|
||||||
|
#color body color33 color234 "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
|
||||||
|
#mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
|
||||||
|
# _underline_
|
||||||
|
#color body color33 color234 "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
|
||||||
|
#mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
|
||||||
|
# /italic/ (Sometimes gets directory names)
|
||||||
|
#color body color33 color234 "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
|
||||||
|
#mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
|
||||||
|
|
||||||
|
# Border lines.
|
||||||
|
#color body color33 color234 "( *[-+=#*~_]){6,}"
|
||||||
|
|
||||||
|
#folder-hook . "color status J_black J_status "
|
||||||
|
#folder-hook gmail/inbox "color status J_black color136 "
|
||||||
|
#folder-hook gmail/important "color status J_black color136 "
|
||||||
|
|
||||||
18
mutt/muttrc
18
mutt/muttrc
|
|
@ -1,6 +1,10 @@
|
||||||
|
# Get passwords from gpg'd file
|
||||||
source "gpg -dq ~/.my-pwds.gpg |"
|
source "gpg -dq ~/.my-pwds.gpg |"
|
||||||
|
|
||||||
|
# General
|
||||||
set realname = "Dustin Swan"
|
set realname = "Dustin Swan"
|
||||||
|
|
||||||
|
# Gmail IMAP
|
||||||
set imap_user = "dustinswan@gmail.com"
|
set imap_user = "dustinswan@gmail.com"
|
||||||
set imap_pass = $my_pw_personal
|
set imap_pass = $my_pw_personal
|
||||||
set folder = "imaps://imap.gmail.com/"
|
set folder = "imaps://imap.gmail.com/"
|
||||||
|
|
@ -12,8 +16,20 @@ set postponed = "+[Gmail]/Drafts"
|
||||||
unset imap_passive
|
unset imap_passive
|
||||||
set imap_keepalive = 300
|
set imap_keepalive = 300
|
||||||
set mail_check = 60
|
set mail_check = 60
|
||||||
|
|
||||||
|
# SMTP
|
||||||
set smtp_url = "smtp://dustinswan@smtp.gmail.com:587/"
|
set smtp_url = "smtp://dustinswan@smtp.gmail.com:587/"
|
||||||
set smtp_pass = $my_pw_personal
|
set smtp_pass = $my_pw_personal
|
||||||
|
set send_charset = "utf-8"
|
||||||
|
|
||||||
|
set mailcap_path = ~/.mutt/mailcap
|
||||||
|
|
||||||
|
# Edit headers
|
||||||
|
#set edit_headers = yes
|
||||||
|
#unset use_from
|
||||||
|
#unset use_domain
|
||||||
|
#unset user_agent
|
||||||
|
#unmy_hdr *
|
||||||
|
|
||||||
# Sorting
|
# Sorting
|
||||||
set sort = threads
|
set sort = threads
|
||||||
|
|
@ -37,3 +53,5 @@ bind index <right> sidebar-open
|
||||||
auto_view text/html
|
auto_view text/html
|
||||||
alternative_order text/plain text/enriched text/html
|
alternative_order text/plain text/enriched text/html
|
||||||
|
|
||||||
|
# Colors
|
||||||
|
source ~/.mutt/mutt-colors-solarized-dark-256.muttrc
|
||||||
|
|
|
||||||
34
muttrc
34
muttrc
|
|
@ -1,34 +0,0 @@
|
||||||
source "gpg -dq ~/.my-pwds.gpg |"
|
|
||||||
|
|
||||||
set realname = "Dustin Swan"
|
|
||||||
set imap_user = "dustinswan@gmail.com"
|
|
||||||
set imap_pass = $my_pw_personal
|
|
||||||
set folder = "imaps://imap.gmail.com/"
|
|
||||||
set spoolfile = +INBOX
|
|
||||||
set imap_check_subscribed
|
|
||||||
#set header_cache = ~/.mutt/hcache
|
|
||||||
set record = "+[Gmail]/Sent Mail"
|
|
||||||
set postponed = "+[Gmail]/Drafts"
|
|
||||||
unset imap_passive
|
|
||||||
set imap_keepalive = 300
|
|
||||||
set mail_check = 60
|
|
||||||
set smtp_url = "smtp://dustinswan@smtp.gmail.com:587/"
|
|
||||||
set smtp_pass = $my_pw_personal
|
|
||||||
|
|
||||||
# Sorting
|
|
||||||
set sort = threads
|
|
||||||
set sort_aux = reverse-last-date-received
|
|
||||||
|
|
||||||
# Sidebar
|
|
||||||
set sidebar_delim = ' │'
|
|
||||||
set sidebar_visible = yes
|
|
||||||
set sidebar_width = 24
|
|
||||||
#color sidebar_new color221 color233
|
|
||||||
|
|
||||||
bind index <down> sidebar-next
|
|
||||||
bind index <up> sidebar-prev
|
|
||||||
bind index <right> sidebar-open
|
|
||||||
|
|
||||||
# Status Bar
|
|
||||||
#set status_chars = " *&A"
|
|
||||||
#set status_format = "---[ Folder: %f ]---[%r%n messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]---%>-%?p?( %p postponed )?---""
|
|
||||||
11
tmux.conf
11
tmux.conf
|
|
@ -36,8 +36,13 @@ set -g status-left-length 32
|
||||||
set -g status-right-length 150
|
set -g status-right-length 150
|
||||||
set -g status-interval 5
|
set -g status-interval 5
|
||||||
|
|
||||||
set -g status-left '#[fg=colour238,bg=colour234,nobold]⮀'
|
#set -g status-left '#[fg=colour238,bg=colour234,nobold]⮀'
|
||||||
|
#set -g status-right '#[fg=colour245]⮃ %R ⮃ %d %b #[fg=colour254,bg=colour234,nobold]⮂#[fg=colour16,bg=colour254,bold] #h '
|
||||||
|
#set -g window-status-format "#[fg=white,bg=colour234] #I #W "
|
||||||
|
#set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour16,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀"
|
||||||
|
|
||||||
set -g status-right '#[fg=colour245]⮃ %R ⮃ %d %b #[fg=colour254,bg=colour234,nobold]⮂#[fg=colour16,bg=colour254,bold] #h '
|
# No fancy chars
|
||||||
|
set -g status-left '#[fg=colour238,bg=colour234,nobold]'
|
||||||
|
set -g status-right '#[fg=colour245] %R %d %b #[fg=colour254,bg=colour234,nobold]#[fg=colour16,bg=colour254,bold] #h '
|
||||||
set -g window-status-format "#[fg=white,bg=colour234] #I #W "
|
set -g window-status-format "#[fg=white,bg=colour234] #I #W "
|
||||||
set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour16,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀"
|
set -g window-status-current-format "#[fg=colour234,bg=colour39]#[fg=colour16,bg=colour39,noreverse,bold] #I #W #[fg=colour39,bg=colour234,nobold]"
|
||||||
|
|
|
||||||
2
urlview
2
urlview
|
|
@ -1,2 +0,0 @@
|
||||||
REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
|
|
||||||
COMMAND luakit -n %s 2>/dev/null
|
|
||||||
3
vimrc
3
vimrc
|
|
@ -134,11 +134,12 @@ set dictionary+=/usr/share/dict/words
|
||||||
|
|
||||||
" hide toolbar in macvim, etc
|
" hide toolbar in macvim, etc
|
||||||
if has("gui_running")
|
if has("gui_running")
|
||||||
|
set gfn=Terminus\ 8
|
||||||
set go=-t
|
set go=-t
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Powerline
|
" Powerline
|
||||||
let g:Powerline_symbols='fancy'
|
" let g:Powerline_symbols='fancy'
|
||||||
|
|
||||||
" Colors
|
" Colors
|
||||||
"set background=dark
|
"set background=dark
|
||||||
|
|
|
||||||
3
zshrc
3
zshrc
|
|
@ -31,7 +31,10 @@ source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# Customize to your needs...
|
# Customize to your needs...
|
||||||
alias vi=vim
|
alias vi=vim
|
||||||
|
alias tmux="tmux -2"
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
export BROWSER=luakit
|
||||||
|
# export TERM=xterm-256color
|
||||||
|
|
||||||
# VCS stuff
|
# VCS stuff
|
||||||
export P4USER=dswan
|
export P4USER=dswan
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue