22c7a9aa28c4

More.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 29 Jun 2011 16:14:17 -0400
parents 8fb062630788
children c437b18e684d
branches/tags (none)
files mutt/muttrc zsh/urls.zsh

Changes

--- a/mutt/muttrc	Wed Jun 29 11:52:14 2011 -0400
+++ b/mutt/muttrc	Wed Jun 29 16:14:17 2011 -0400
@@ -6,7 +6,7 @@
 set mailcap_path        = ~/.mutt/mailcap                       # entrys for filetypes
 set signature           = ~/.mutt/sig                           # my signature file
 set tmpdir              = ~/.mutt/temp                          # where to keep temp files
-set editor              = "vim +/^$ +:noh"                      # use vim and skip to first blank line
+set editor              = "vim +/^$ +:s/^$/\\\\r\\\\r/ +:noh -c 'normal! k' -c 'redraw'" # use vim
 set print_command       = /usr/bin/enscript                     # print with enscript
 
 # main options
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zsh/urls.zsh	Wed Jun 29 16:14:17 2011 -0400
@@ -0,0 +1,8 @@
+function urlopen() {
+    open "http://$*"
+}
+
+alias -s com=urlopen
+alias -s org=urlopen
+alias -s net=urlopen
+alias -s io=urlopen