From 89df10a3ab0ae6b0b305bc1676ef36dfba25fa44 Mon Sep 17 00:00:00 2001 From: Kevin Watters Date: Wed, 6 Aug 2014 15:03:51 -0700 Subject: [PATCH] Add uppercase command typos, some abbreviations, and vim-surround. --- .vimrc | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 3203321..03b3698 100644 --- a/.vimrc +++ b/.vimrc @@ -1,7 +1,6 @@ set nocompatible " begin vundle - filetype off set rtp+=~/.vim/bundle/vundle/ call vundle#rc() @@ -13,13 +12,13 @@ Bundle 'altercation/vim-colors-solarized' Bundle 'scrooloose/syntastic' Bundle 'tpope/vim-fugitive' Bundle 'tpope/vim-unimpaired' +Bundle 'tpope/vim-surround' Bundle 'mattn/webapi-vim' Bundle 'mattn/gist-vim' Bundle 'airblade/vim-gitgutter' Bundle 'rking/ag.vim' Bundle 'jnwhiteh/vim-golang' Bundle 'scrooloose/nerdtree' -Bundle 'bling/vim-airline' Bundle 'groenewege/vim-less' Bundle 'davidhalter/jedi-vim' Bundle 'mustache/vim-mustache-handlebars' @@ -34,6 +33,9 @@ Bundle "honza/vim-snippets" " iced-coffee-script Bundle "AndrewRadev/vim-coffee-script" +" elm +Bundle "lambdatoast/elm.vim" + filetype plugin indent on " end vundle @@ -65,6 +67,8 @@ set ruler set wildmenu set clipboard+=unnamed +" au FocusLost * :wa + set background=dark let g:solarized_termtrans = 0 colorscheme solarized @@ -125,6 +129,7 @@ map a :Ag " Syntastic let g:syntastic_python_checkers=['pyflakes', 'pep8'] let g:syntastic_coffee_checkers=['coffee', 'coffeejshint'] +"let g:syntastic_debug=3 " Jedi let g:jedi#use_tabs_not_buffers = 0 @@ -160,5 +165,21 @@ endfunction " format JSON nicely (via python's simplejson) command! JSONPrettify :call JSONPrettify() +iab flase false +iab fasle false +iab ture true + iab Fasle False iab Ture True + +if has("user_commands") + command! -bang -nargs=? -complete=file E e + command! -bang -nargs=? -complete=file W w + command! -bang -nargs=? -complete=file Wq wq + command! -bang -nargs=? -complete=file WQ wq + command! -bang Wa wa + command! -bang WA wa + command! -bang Q q + command! -bang QA qa + command! -bang Qa qa +endif