|
|
@ -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
|
|
|
|