From 2ef92e8a78df2d91c405301c3ecd3b67405985a8 Mon Sep 17 00:00:00 2001 From: Austen Date: Wed, 16 Jul 2014 15:57:52 -0400 Subject: [PATCH] Made major improvements and formatted vimrc --- vimrc | 45 ++++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/vimrc b/vimrc index fc57349..2818302 100644 --- a/vimrc +++ b/vimrc @@ -9,7 +9,7 @@ au VimResized * exe "normal! \=" "match Error /\s\+$/ "nnoremap s xa "nnoremap :UndotreeToggle -inoremap pumvisible() ? "\" : "\" +inoremap pumvisible() ? "\" : "\" imap \ neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : pumvisible() ? "\" : "\" smap \ neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : "\" nnoremap \| vl @@ -103,14 +103,25 @@ inoremap inoremap inoremap nnoremap Y y$ +nnoremap w +nnoremap W +nnoremap :bp +nnoremap :bn +nnoremap z _| +nmap [e +nmap ]e +vmap [egv +vmap ]egv set guicursor+=n-v-c:blinkon0 set formatoptions-=r set formatoptions-=o set diffopt+=iwhite set noesckeys set mouse-=a -set expandtab set shiftwidth=2 +set tabstop=2 +set softtabstop=2 +set expandtab set history=1000 set hidden set cursorline @@ -127,6 +138,19 @@ set undolevels=1000 set history=200 set ttyfast set ff=unix +set encoding=utf-8 +set laststatus=2 +set foldmethod=marker +set foldnestmax=10 +set foldlevel=2 +set rnu +set nu +set ts=2 sw=2 et +set background=dark +set t_Co=256 +set gdefault +set nocompatible +set rtp+=~/.vim/bundle/vundle/ syntax on let g:airline_left_sep='▶' let g:airline_right_sep='◀' @@ -141,20 +165,9 @@ let g:syntastic_java_javac_classpath = "/Applications/Android Studio.app/sdk/pla " -xn -xc -xl -S "let g:airline#extensions#tabline#enabled=1 let g:Powerline_symbols = 'fancy' -set encoding=utf-8 -set laststatus=2 -set foldmethod=marker -set foldnestmax=10 -set foldlevel=2 -set rnu -set nu -set ts=2 sw=2 et let g:indent_guides_start_level=2 let g:indent_guides_guide_size=1 let g:indent_guides_enable_on_vim_startup=1 -set background=dark -set t_Co=256 -set gdefault let g:neocomplcache_enable_at_startup=1 let g:neocomplcache_enable_camel_case_completion=1 let g:neocomplcache_enable_smart_case=1 @@ -163,14 +176,11 @@ let g:neocomplcache_enable_auto_delimiter=1 let g:neocomplcache_max_list=20 let g:neocomplcache_force_overwrite_completefunc=1 let g:neocomplcache_min_syntax_length = 2 - let g:php_refactor_command='php /usr/local/bin/refactor.phar' "inoremap neocomplcache#smart_close_popup()."\" "let g:neocomplcache_enable_auto_select = 1 let loaded_matchit = 1 -set nocompatible " be iMproved -filetype off " required! -set rtp+=~/.vim/bundle/vundle/ +filetype off call vundle#rc() Bundle 'gmarik/vundle' Bundle 'Chiel92/vim-autoformat' @@ -199,6 +209,7 @@ Bundle 'tpope/vim-commentary' Bundle 'mbbill/undotree' Bundle 'vim-php/vim-php-refactoring' Bundle 'tpope/vim-fugitive' +Bundle 'tpope/vim-unimpaired' Bundle 'kien/ctrlp.vim' Bundle 'godlygeek/tabular' "Bundle 'Floobits/floobits-vim'