85db8aa3c1cc

vim: add Vat
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 08 Oct 2010 09:26:49 -0400
parents f0175ad134fd
children cdc196e91cd2
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Thu Oct 07 11:46:45 2010 -0400
+++ b/vim/.vimrc	Fri Oct 08 09:26:49 2010 -0400
@@ -93,7 +93,7 @@
 set foldlevelstart=0
 nnoremap <Space> za
 vnoremap <Space> za
-au BufNewFile,BufRead *.html map <leader>ft Vatzf
+noremap <leader>ft Vatzf
 
 function! MyFoldText()
     let line = getline(v:foldstart)
@@ -203,6 +203,7 @@
 
 " Make selecting inside an HTML tag less dumb
 nnoremap Vit vitVkoj
+nnoremap Vat vatV
 
 " Diff
 nmap <leader>d :!hg diff %<cr>