[vim] set pastetoggle with <leader>p
[~bandali/configs] / vim / .vimrc
index 053cab4..58f3b17 100644 (file)
@@ -1,39 +1,38 @@
-" ==== <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'
-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'
+Plug 'whatyouhide/vim-gotham'
+
+call plug#end()
+
 
 " Use the Solarized Dark theme
 set background=dark
-"colorscheme solarized
+colorscheme gotham
 
 " Make Vim more useful
 set nocompatible
 " Use the OS clipboard by default (on versions compiled with `+clipboard`)
-set clipboard=unnamed
+set clipboard=unnamedplus
 " Enhance command-line completion
 set wildmenu
 " Allow cursor keys in insert mode
@@ -178,8 +177,8 @@ let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
 set shiftwidth=4
 set expandtab
 
-"let g:ctrlp_map = '<space>'
-let g:ctrlp_map = '<leader>p'
+let g:ctrlp_map = '<space>'
+"let g:ctrlp_map = '<leader>p'
 set wildignore+=*/build/**
 let g:android_sdk_path= '/Applications/Android\ Studio.app/sdk/'
 let g:android_adb_tool= '/Applications/Android\ Studio.app/sdk/platform-tools/adb'
@@ -237,8 +236,14 @@ let g:indentLine_char = '¦'
 let &t_SI = "\<Esc>]50;CursorShape=1\x7"
 let &t_EI = "\<Esc>]50;CursorShape=0\x7"
 
-set pastetoggle=<leader>t
+set pastetoggle=<leader>p
+
+"set conceallevel=0
+"let g:vim_json_syntax_conceal = 0
+"let g:indentLine_noConcealCursor=""
+" latex mode settings
+let g:Tex_DefaultTargetFormat = "pdf"
 
-set conceallevel=0
-let g:vim_json_syntax_conceal = 0
-let g:indentLine_noConcealCursor=""
+set hidden
+let g:racer_cmd = "racer"
+let $RUST_SRC_PATH=expand('~/misc/rs/rust/src/')