diff --git a/.vimrc b/.vimrc index 8123a54d..6046b727 100755 --- a/.vimrc +++ b/.vimrc @@ -74,7 +74,7 @@ Plugin 'tpope/vim-cucumber' Plugin 'airblade/vim-gitgutter.git' Plugin 'godlygeek/tabular' Plugin 'plasticboy/vim-markdown' -Plugin 'Valloric/YouCompleteMe' +Plugin 'Shougo/neocomplete.vim' call vundle#end() filetype plugin indent on @@ -89,6 +89,17 @@ set background=dark highlight clear SignColumn colorscheme solarized +" plugins: neocomplete +let g:neocomplete#enable_at_startup = 1 +let g:neocomplete#enable_smart_case = 1 +"" : close popup and save indent. +inoremap =my_cr_function() +function! s:my_cr_function() + return (pumvisible() ? "\" : "" ) . "\" +endfunction +"" : completion. +inoremap pumvisible() ? "\" : "\" + " plugins: airline let g:bufferline_echo = 0 let g:airline_powerline_fonts = 1