[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// set undodir=$HOME/.vim_undo//
" omnicomplete " omnicomplete
set completeopt=longest,menuone " set completeopt=longest,menuone
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<cr>" " inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<cr>"
inoremap <expr> <C-n> pumvisible() ? '<C-n>' : " inoremap <expr> <C-n> pumvisible() ? '<C-n>' :
\ '<C-n><C-r>=pumvisible() ? "\<lt>Down>" : ""<cr>' " \ '<C-n><C-r>=pumvisible() ? "\<lt>Down>" : ""<cr>'
highlight Pmenu ctermbg=grey ctermfg=black " highlight Pmenu ctermbg=grey ctermfg=black
highlight PmenuSel ctermbg=magenta ctermfg=black " highlight PmenuSel ctermbg=magenta ctermfg=black
" set colorcolumn=81 " set colorcolumn=81
endif endif

Loading…
Cancel
Save