[vim] Remove omnicomplete config

Conflicts with vim-endwise for some reason?
pull/28/head
Alpha Chen 10 years ago
parent 8140056739
commit 5903379ec8

@ -252,12 +252,12 @@ if v:version >= 703
set undodir=$HOME/.vim_undo//
" omnicomplete
set completeopt=longest,menuone
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<cr>"
inoremap <expr> <C-n> pumvisible() ? '<C-n>' :
\ '<C-n><C-r>=pumvisible() ? "\<lt>Down>" : ""<cr>'
highlight Pmenu ctermbg=grey ctermfg=black
highlight PmenuSel ctermbg=magenta ctermfg=black
" set completeopt=longest,menuone
" inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<cr>"
" inoremap <expr> <C-n> pumvisible() ? '<C-n>' :
" \ '<C-n><C-r>=pumvisible() ? "\<lt>Down>" : ""<cr>'
" highlight Pmenu ctermbg=grey ctermfg=black
" highlight PmenuSel ctermbg=magenta ctermfg=black
" set colorcolumn=81
endif

Loading…
Cancel
Save