plugin added: MUcomplete
This commit is contained in:
parent
1adb365787
commit
6ac3126e1c
17
vimrc
17
vimrc
|
@ -70,6 +70,10 @@ Plugin 'ap/vim-css-color'
|
|||
" vim-javascript
|
||||
Plugin 'pangloss/vim-javascript'
|
||||
|
||||
" vim-mucomplete
|
||||
" https://github.com/lifepillar/vim-mucomplete
|
||||
Plugin 'lifepillar/vim-mucomplete'
|
||||
|
||||
" All of your Plugins must be added before the following line
|
||||
call vundle#end() " required
|
||||
filetype plugin indent on " required
|
||||
|
@ -225,6 +229,19 @@ nnoremap <leader>p :echom SyntaxItem()<CR>
|
|||
|
||||
" plugins stuff
|
||||
|
||||
" MUcomplete
|
||||
set completeopt+=menuone
|
||||
let g:mucomplete#enable_auto_at_startup = 1
|
||||
inoremap <expr> <c-e> mucomplete#popup_exit("\<c-e>")
|
||||
inoremap <expr> <c-y> mucomplete#popup_exit("\<c-y>")
|
||||
inoremap <expr> <cr> mucomplete#popup_exit("\<cr>")
|
||||
set completeopt+=noselect
|
||||
set completeopt+=noinsert
|
||||
|
||||
set shortmess+=c " Shut off completion messages
|
||||
set belloff+=ctrlg " If Vim beeps during completion
|
||||
|
||||
|
||||
" NERDtree
|
||||
nnoremap <F3> :NERDTreeFocus<CR>
|
||||
nnoremap <leader>nt :NERDTreeFocus<CR>
|
||||
|
|
Loading…
Reference in New Issue