more nice stuff

This commit is contained in:
2019-11-26 08:21:17 -08:00
parent 100a9ae079
commit d0d67a215c
2 changed files with 8 additions and 0 deletions

View File

@@ -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 <c-v> x"+P
nnoremap <leader>t :term<cr>
nnoremap <leader>sw /\<\><Left><Left>
nnoremap <leader>rw :%s/\<\><Left><Left>
" }}}
" Mappings for Plugins
@@ -228,6 +234,7 @@ nnoremap <leader>sd :SyntasticSetLoclist<cr>:lopen<cr>
nnoremap <leader>sc :w<cr>:SyntasticCheck<cr>
nnoremap <leader>sr :SyntasticReset<cr>
nnoremap <leader>T :TagbarToggle<cr>
nnoremap <leader>g :Gstatus<cr>
" }}}
" Abbreviations