aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2014-06-29 17:21:26 -0400
committerTeddy Wing2014-06-29 17:21:26 -0400
commit731619c3eaa2162e0a6b8113355317e5115b89b6 (patch)
treeae9b6f3df48a699f1f250321965749414dd2a643 /vimrc
parentdad210c21939a62e2333b84d817834c9593239ab (diff)
downloaddotvim-731619c3eaa2162e0a6b8113355317e5115b89b6.tar.bz2
vimrc: remove commentary.vim autocmds
These are no longer required now that I've switched to tcomment.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc15
1 files 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 <leader>f :NERDTreeToggle<cr>
-" commentary.vim
-augroup commentaryvim
- autocmd!
- autocmd FileType ruby setlocal commentstring=#\ %s
- autocmd FileType html setlocal commentstring=<!--\ %s\ -->
- autocmd FileType htmldjango setlocal commentstring=<!--\ %s\ -->
- 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