# HG changeset patch # User Steve Losh # Date 1281391521 14400 # Node ID 0d1b760fe9e3b2f670b2302d964b2f429cf8deae # Parent 87bb4c33955ce9ba20cc6199d3c931739a2df823 vim: add filetype shortcuts diff -r 87bb4c33955c -r 0d1b760fe9e3 vim/.vimrc --- 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 +nnoremap _jt :set ft=htmljinja