diff --git a/plugin/comment.vim b/plugin/comment.vim index 9084c7d..e4eb9f8 100644 --- a/plugin/comment.vim +++ b/plugin/comment.vim @@ -7,6 +7,7 @@ let s:comment_map = { \ 'rust': '\/\/', \ 'vhdl': '--', \ 'python': '#', + \ 'pyrex': '#', \ 'vim': '"', \ 'tex': '%', \ 'plaintex': '%', diff --git a/plugin/settings.vim b/plugin/settings.vim index 80951cf..1817c8d 100644 --- a/plugin/settings.vim +++ b/plugin/settings.vim @@ -145,6 +145,11 @@ augroup prose autocmd FileType tex,text,plaintex,markdown,rst \ setlocal spell spelllang=en_us textwidth=79 augroup END + +augroup fuckingcomment + autocmd! + autocmd BufNewFile,BufRead * setlocal formatoptions-=cro +augroup END " }}} " For Terminal @@ -213,6 +218,7 @@ vnoremap x"+P nnoremap t :term nnoremap sw /\<\> +nnoremap rw :%s/\<\> " }}} " Mappings for Plugins @@ -228,6 +234,7 @@ nnoremap sd :SyntasticSetLoclist:lopen nnoremap sc :w:SyntasticCheck nnoremap sr :SyntasticReset nnoremap T :TagbarToggle +nnoremap g :Gstatus " }}} " Abbreviations