Improve taskrc commentstring call + add one for ft=tmux

This commit is contained in:
Kevin MacMartin 2014-07-26 01:44:09 -04:00
parent a961849af9
commit 112495115b

View file

@ -38,7 +38,6 @@ endif
au BufNewFile,BufRead *.gradle setf groovy au BufNewFile,BufRead *.gradle setf groovy
"filename specific settings "filename specific settings
autocmd BufEnter,BufRead *taskrc setlocal commentstring=#\ %s
autocmd BufEnter,BufRead PKGBUILD setlocal iskeyword-=. autocmd BufEnter,BufRead PKGBUILD setlocal iskeyword-=.
"filtype specific settings "filtype specific settings
@ -47,6 +46,7 @@ endif
autocmd FileType help* wincmd L "help windows always open vertically autocmd FileType help* wincmd L "help windows always open vertically
autocmd FileType help* vertical resize 80 "set the window size to 80 cols autocmd FileType help* vertical resize 80 "set the window size to 80 cols
autocmd FileType help* setlocal nocursorline "remove the horizontal cursor line autocmd FileType help* setlocal nocursorline "remove the horizontal cursor line
autocmd FileType tmux,taskrc setlocal commentstring=#\ %s "remove the horizontal cursor line
autocmd BufEnter,FileType taskreport,qf,help* setlocal nowrap nocursorcolumn "disable text wrapping and the vertical cursor line autocmd BufEnter,FileType taskreport,qf,help* setlocal nowrap nocursorcolumn "disable text wrapping and the vertical cursor line
autocmd BufEnter,FileType extradite setlocal number "enable line numbers in extradite autocmd BufEnter,FileType extradite setlocal number "enable line numbers in extradite