X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/c49acefb1f2e04b466b8af13b9746edb684e33fa..d9fc5b536dde552518ff59561bb76e4cda1ca65d:/vimrc diff --git a/vimrc b/vimrc index 51c45f4..712d0c0 100644 --- a/vimrc +++ b/vimrc @@ -27,25 +27,33 @@ filetype off " required call plug#begin('~/.vim/plugged') " Markdown highlighting -Plugin 'tpope/vim-markdown' +" Plug 'tpope/vim-markdown' +" Plug 'plasticboy/vim-markdown' " let g:markdown_github_languages = ['sh', 'python'] " Distraction free writing. -Plugin 'junegunn/goyo.vim' -nnoremap w :Goyo - +Plug 'junegunn/goyo.vim' " Better status line. -Plugin 'bling/vim-airline' +Plug 'bling/vim-airline' " Plugin 'Windows-PowerShell-Syntax-Plugin' " PowerShell Highlighting and detection -Plugin 'pprovost/vim-ps1' +Plug 'pprovost/vim-ps1' + +" Much better theme +" Plug NLKNguyen/papercolor-theme +" +" +Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } + +call plug#end() -call vundle#end() filetype plugin indent on " required for Vundle Bundle +nnoremap w :Goyo + " If not something else, then assume Markdown set filetype=markdown set syntax=markdown @@ -60,4 +68,16 @@ set softtabstop=4 " makes the spaces feel like real tabs set tabstop=2 set shiftwidth=2 -colorscheme slate +" 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 elflord +set number + +set backupdir=c:\temp,.backup/,~/.backup/,/tmp// +set directory=c:\temp,.swp/,~/.swp/,/tmp// +set undodir=c:\temp,.undo/,~/.undo/,/tmp// +set backspace=indent,eol,start " Do not be pedantic about backspace.