X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/98b68d818954c6780ba42d48bc048a0a84d05ced..be26097c02eec97da8a8d9195e7a49e5a5bb4f43:/vimrc diff --git a/vimrc b/vimrc index c5abfc2..a4ca635 100644 --- a/vimrc +++ b/vimrc @@ -27,7 +27,8 @@ filetype off " required call plug#begin('~/.vim/plugged') " Markdown highlighting -Plug 'tpope/vim-markdown' +" Plug 'tpope/vim-markdown' +" Plug 'plasticboy/vim-markdown' " let g:markdown_github_languages = ['sh', 'python'] " Distraction free writing. @@ -41,6 +42,12 @@ Plug 'bling/vim-airline' " PowerShell Highlighting and detection Plug 'pprovost/vim-ps1' +" Much better theme +" Plug NLKNguyen/papercolor-theme +" +" +Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } + call plug#end() filetype plugin indent on " required for Vundle Bundle @@ -61,4 +68,16 @@ set softtabstop=4 " makes the spaces feel like real tabs set tabstop=2 set shiftwidth=2 +" Working with Go +au BufNewFile,BufRead *.go set noet ts=2 sw=2 sts=2 + +" Working with Markdown + +au BufNewFile,BufFilePre,BufRead *.md set filetype=markdown colorscheme slate +" colorscheme papercolor +set number + +set backupdir=.backup/,~/.backup/,/tmp// +set directory=.swp/,~/.swp/,/tmp// +set undodir=.undo/,~/.undo/,/tmp//