set nocompatible filetype off set autoread set wildmenu set wildignore=*.o,*~,*.pyc set ruler syntax enable set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'gmarik/Vundle.vim' Plugin 'bling/vim-airline' Plugin 'whatyouhide/vim-gotham' Plugin 'scrooloose/nerdtree' Plugin 'Xuyuanp/nerdtree-git-plugin' Plugin 'terryma/vim-expand-region' Plugin 'kien/ctrlp.vim' Plugin 'airblade/vim-gitgutter' call vundle#end() filetype plugin indent on colorscheme gotham set laststatus=2 let g:airline#extensions#tabline#enabled = 1 let g:airline_left_sep = "" let g:airline_right_sep = "" set hidden let g:NERDTreeIndicatorMapCustom = { \ "Modified" : "✹", \ "Staged" : "✚", \ "Untracked" : "✭", \ "Renamed" : "➜", \ "Unmerged" : "═", \ "Deleted" : "✖", \ "Dirty" : "✗", \ "Clean" : "✔︎", \ "Unknown" : "?" \ } map :NERDTreeToggle let NERDTreeShowHidden=1 vmap v (expand_region_expand) vmap (expand_region_shrink) let g:ctrlp_show_hidden = 1 function! ClipboardYank() call system('xclip -i -selection clipboard', @@) endfunction function! ClipboardPaste() let @@ = system('xclip -o -selection clipboard') endfunction vnoremap y y:call ClipboardYank() vnoremap d d:call ClipboardYank() nnoremap p :call ClipboardPaste()p tnoremap tnoremap h tnoremap j tnoremap k tnoremap l nnoremap h nnoremap j nnoremap k nnoremap l map :terminal nnoremap < nnoremap > nnoremap - nnoremap +