0d1b760fe9e3

vim: add filetype shortcuts
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 09 Aug 2010 18:05:21 -0400
parents 87bb4c33955c
children 235562dfd608
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Fri Aug 06 16:39:34 2010 -0400
+++ b/vim/.vimrc	Mon Aug 09 18:05:21 2010 -0400
@@ -202,3 +202,6 @@
 " Sudo to write
 cmap w!! w !sudo tee % >/dev/null
 
+" Easy filetype switching
+nnoremap _dt :set ft=htmldjango<CR>
+nnoremap _jt :set ft=htmljinja<CR>