From 731619c3eaa2162e0a6b8113355317e5115b89b6 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 29 Jun 2014 17:21:26 -0400 Subject: vimrc: remove commentary.vim autocmds These are no longer required now that I've switched to tcomment. --- vimrc | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/vimrc b/vimrc index 522d8a7..319eae6 100644 --- a/vimrc +++ b/vimrc @@ -235,6 +235,9 @@ " 2014.06.29: " * Remove TabBar plugin. I wasn't using it and it's been disabled for a " while, so completely removing it. Delete mappings created for TabBar. +" * Remove commentary.vim autocmds. After switching to tcomment these are +" no longer necessary. All the languages I was targeting are have +" built-in support with tcomment. " @@ -384,18 +387,6 @@ let NERDTreeWinSize = 24 nnoremap f :NERDTreeToggle -" commentary.vim -augroup commentaryvim - autocmd! - autocmd FileType ruby setlocal commentstring=#\ %s - autocmd FileType html setlocal commentstring= - autocmd FileType htmldjango setlocal commentstring= - autocmd FileType javascript setlocal commentstring=//\ %s - autocmd FileType scss setlocal commentstring=//\ %s - autocmd FileType python setlocal commentstring=#\ %s -augroup END - - " PreserveNoEOL let g:PreserveNoEOL = 1 -- cgit v1.2.3