summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2015-05-25 18:42:00 -0400
committerAmin Bandali <me@aminb.org>2015-05-25 18:42:00 -0400
commit38acf911aefbf0446fcea6d68f6685bba6f8dc91 (patch)
treec42cc77a19f3cb9befc1babc6e5465babee9d741
parentc6389de14c657ad5b5907dee3ad5468fec300b6e (diff)
downloadconfigs-38acf911aefbf0446fcea6d68f6685bba6f8dc91.tar.gz
configs-38acf911aefbf0446fcea6d68f6685bba6f8dc91.tar.xz
configs-38acf911aefbf0446fcea6d68f6685bba6f8dc91.zip
[vim] switch to vim-plug and add rust.vim & racer
Diffstat (limited to '')
-rw-r--r--vim/.vimrc57
1 files changed, 29 insertions, 28 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index d3e1a1c..5573306 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -1,31 +1,28 @@
-" ==== <Vundle> ====
-set nocompatible " be iMproved, required
-filetype off " required
-
-" set the runtime path to include Vundle and initialize
-set rtp+=~/.vim/bundle/Vundle.vim
-call vundle#begin()
-
-" let Vundle manage Vundle, required
-Plugin 'gmarik/Vundle.vim'
-Plugin 'kien/rainbow_parentheses.vim'
-"Plugin 'hsanson/vim-android'
-Plugin 'scrooloose/nerdcommenter'
-Plugin 'SirVer/ultisnips'
-Plugin 'honza/vim-snippets'
-"Plugin 'kien/ctrlp.vim'
-"Plugin 'tacahiroy/ctrlp-funky'
-Plugin 'Raimondi/delimitMate'
-Plugin 'Yggdroot/indentLine'
-"Plugin 'tpope/vim-fugitive'
-Plugin 'airblade/vim-gitgutter'
-"Plugin 'altercation/vim-colors-solarized'
-Plugin 'terryma/vim-multiple-cursors'
-"Plugin 'elzr/vim-json'
-"Plugin 'lervag/vim-latex'
-Plugin 'tpope/vim-surround'
-call vundle#end() " required
-" ==== </Vundle> ====
+"set nocompatible " be iMproved, required
+"filetype off " required
+
+call plug#begin('~/.vim/plugged')
+
+Plug 'kien/rainbow_parentheses.vim'
+"Plug 'hsanson/vim-android'
+Plug 'scrooloose/nerdcommenter'
+Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
+"Plug 'kien/ctrlp.vim'
+"Plug 'tacahiroy/ctrlp-funky'
+Plug 'Raimondi/delimitMate'
+Plug 'Yggdroot/indentLine'
+"Plug 'tpope/vim-fugitive'
+Plug 'airblade/vim-gitgutter'
+"Plug 'altercation/vim-colors-solarized'
+Plug 'terryma/vim-multiple-cursors'
+"Plug 'elzr/vim-json'
+"Plug 'lervag/vim-latex'
+Plug 'tpope/vim-surround'
+Plug 'rust-lang/rust.vim'
+Plug 'phildawes/racer'
+
+call plug#end()
+
" Use the Solarized Dark theme
set background=dark
@@ -245,3 +242,7 @@ set pastetoggle=<leader>t
"let g:indentLine_noConcealCursor=""
" latex mode settings
let g:Tex_DefaultTargetFormat = "pdf"
+
+set hidden
+let g:racer_cmd = "racer"
+let $RUST_SRC_PATH=expand('~/misc/rs/rust/src/')