e5f8b8723bb9

Fixing random stuff.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 28 Oct 2010 18:39:40 -0400
parents f2193e4dee39
children fc8ea0a42a45 2a4a77b7b2dd
branches/tags (none)
files mutt/colors.muttrc mutt/sidebar.muttrc mutt/steve-stevelosh.com.muttrc vim/snippets/django.snippets

Changes

--- a/mutt/colors.muttrc	Wed Oct 27 12:36:15 2010 -0400
+++ b/mutt/colors.muttrc	Thu Oct 28 18:39:40 2010 -0400
@@ -1,56 +1,39 @@
-# set default
-color normal     white         default
-
-# main colors
-color status     green         default
-color indicator  yellow        default
-color tree       blue          default
-color error      red     default
-color message    yellow  default
+# general-doesn't-fit stuff
+color normal color252 color233
+color error color193 color124
+color markers color142 color233
+color tilde color142 color233
+color status color172 color233
 
-# uncolor certain messages
-uncolor index "~P"
-uncolor index "~N ~u"
-uncolor index "~N !~u"
-uncolor index "~T"
-uncolor index "~D"
+# index stuff
+color tree color244 color233
+color indicator color255 color235
+color index color117 color233 ~N
+color index color124 color233 ~D
 
-# and recolor them appropriately
-color index      brightblack   default "~P"
-color index      brightcyan    default "~N ~u"  # new ML mail
-color index      brightyellow  default "~N !~u" # new non-ML mail
-color index      brightgreen   default "~T"
-color index      brightred     default "~D"
+# header stuff
+color hdrdefault color248 color233
+color header color226 color233 "^Subject"
 
-# set up the headers
-color header     brightyellow  default "^from:"
-color header     yellow        default "^to:"
-color header     yellow        default "^cc:"
-color header     blue          default "^date:"
-color header     brightblue    default "^subject:"
+# url, email and web stuff
+color body color68 color233 "(finger|ftp|http|https|news|telnet)://[^ >]*"
+color body color111 color233 "<URL:[^ ]*>"
+color body color111 color233 "www\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?"
+color body color111 color233 "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
 
-# message bodies
-color attachment brightblack   default
-color search     red           brightblack
-color signature  cyan          default
-color tilde      blue          default
+# misc body stuff
+color attachment color111 color233
+color signature color244 color233
 
-# urls
-color body       brightblue    default "(^|<| )mailto:[^ ]+@[^ ]( |>|$)"
-color body       brightblue    default "(^|<| )(http|https|ftp|file|telnet|news|finger)://[^ ]+( |>|$)"
-
-# *bold*, _underline_, and /italic/
-color body       brightcyan    default "(^| )\\*[^*]+\\*( |$)"
-color body       brightcyan    default "(^| )_[^_]+_( |$)"
-color body       brightcyan    default "(^| )/[^/]+/( |$)"
+# quote levels
+color quoted color34   default
+color quoted1 color142 default
+color quoted2 color34  default
+color quoted3 color142 default
+color quoted4 color34  default
+color quoted5 color142 default
+color quoted6 color34  default
+color quoted7 color142 default
+color quoted8 color34  default
+color quoted9 color142 default
 
-# quote blocks
-color quoted     magenta       default
-color quoted1    cyan          default
-color quoted2    green         default
-color quoted3    magenta       default
-color quoted4    cyan          default
-color quoted5    green         default
-color quoted6    magenta       default
-color quoted7    cyan          default
-
--- a/mutt/sidebar.muttrc	Wed Oct 27 12:36:15 2010 -0400
+++ b/mutt/sidebar.muttrc	Thu Oct 28 18:39:40 2010 -0400
@@ -3,12 +3,12 @@
 ###
 
 # settings
-  set sidebar_delim       = '  │'
-  set sidebar_visible     = yes
-  set sidebar_width       = 20
+set sidebar_delim       = '  │'
+set sidebar_visible     = yes
+set sidebar_width       = 20
 
 # colors
-color sidebar_new cyan default
+color sidebar_new color117 color233
 
 # bindings
 bind index,pager \CN    sidebar-next
--- a/mutt/steve-stevelosh.com.muttrc	Wed Oct 27 12:36:15 2010 -0400
+++ b/mutt/steve-stevelosh.com.muttrc	Thu Oct 28 18:39:40 2010 -0400
@@ -1,5 +1,3 @@
-color status green default
-
 set from      = "steve@stevelosh.com"
 set sendmail  = "/usr/local/bin/msmtp -a stevelosh"
 set mbox      = "+steve-stevelosh.com/archive"
--- a/vim/snippets/django.snippets	Wed Oct 27 12:36:15 2010 -0400
+++ b/vim/snippets/django.snippets	Thu Oct 28 18:39:40 2010 -0400
@@ -70,7 +70,7 @@
 		${3}
 
 snippet manager
-	class $1:{ModelName}Manager(models.Manager):
+	class ${1:ModelName}Manager(models.Manager):
 		def get_query_set(self):
 			return super($1Manager, self).get_query_set()
 		${3}
@@ -119,3 +119,8 @@
 	class ${1:ModelName}Inline(admin.StackedInline):
 		model = $1
 		extra = ${2:3}
+
+# Ugly crap.
+
+snippet reverse
+	reverse('${1:view-name}'${2:, args=[]}${3:, kwargs=None})${4}