770202774b94

Moar.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 15 Apr 2011 13:12:49 -0400
parents 9ca91adf2773
children 2fb20a201aa5
branches/tags (none)
files vim/.vimrc zsh/misc.zsh

Changes

--- a/vim/.vimrc	Tue Apr 12 16:09:57 2011 -0400
+++ b/vim/.vimrc	Fri Apr 15 13:12:49 2011 -0400
@@ -253,6 +253,7 @@
 
 " Use <localleader>f to fold the current tag.
 au BufNewFile,BufRead *.html nnoremap <buffer> <localleader>f Vatzf
+au BufNewFile,BufRead *.html nnoremap <buffer> VV vatV
 
 " Use Shift-Return to turn this:
 "     <tag>|</tag>
@@ -388,6 +389,11 @@
 au BufNewFile,BufRead .pentadactylrc set filetype=pentadactyl
 
 " }}}
+" Vagrant {{{
+
+au BufRead,BufNewFile Vagrantfile set ft=ruby
+
+" }}}
 
 " }}}
 " Convenience mappings -------------------------------------------------------- {{{
--- a/zsh/misc.zsh	Tue Apr 12 16:09:57 2011 -0400
+++ b/zsh/misc.zsh	Fri Apr 15 13:12:49 2011 -0400
@@ -73,3 +73,5 @@
     done
 }
 
+alias dvt='dvtm -m "^f"'
+alias dv='dtach -A /tmp/dvtm-session.sock -r winch dvtm -m "^f"'