Skip to content
Browse files

Add aliases to change filetypes

  • Loading branch information...
1 parent 9c94ce0 commit 595b3aeba72bd9d5d6e42067b58b5a8e0c9d671f @leto committed May 4, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 config/.vimrc
3 config/.vimrc
@@ -158,6 +158,9 @@ nnoremap <Leader>gc :GitCommit<Enter>
nnoremap <Leader>gp :GitPullRebase<Enter>
map <Leader>tp :set filetype=perl<cr>
+map <Leader>th :set filetype=html<cr>
+map <Leader>tj :set filetype=javascript<cr>
+map <Leader>tr :set filetype=ruby<cr>
map ,gsl :!git shortlog -se %<cr>
vmap ,lc :perldo s/(.*)/lc $1/e<cr>
map ,lc viw:perldo s/(.*)/lc $1/e<cr>

0 comments on commit 595b3ae

Please sign in to comment.
Something went wrong with that request. Please try again.