MUcomplete behaviour

This commit is contained in:
ManjaroOne666 2017-09-16 18:25:59 +01:00
parent 29395bee15
commit a50c22c295
1 changed files with 9 additions and 2 deletions

9
vimrc
View File

@ -246,11 +246,17 @@ inoremap <expr> <cr> mucomplete#popup_exit("\<cr>")
set completeopt+=noselect set completeopt+=noselect
set completeopt+=noinsert set completeopt+=noinsert
set complete-=i
set complete-=t
let g:mucomplete#chains = { 'default' : ['c-p', 'incl', 'tags'] }
let g:mucomplete#popup_direction = { 'path' : -1, 'c-p': -1 }
set shortmess+=c " Shut off completion messages set shortmess+=c " Shut off completion messages
set belloff+=ctrlg " If Vim beeps during completion set belloff+=ctrlg " If Vim beeps during completion
call add(g:mucomplete#chains['default'], 'ulti') call add(g:mucomplete#chains['default'], 'ulti')
" ultisnips " ultisnips
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe. " Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
let g:UltiSnipsExpandTrigger="<leader>u" let g:UltiSnipsExpandTrigger="<leader>u"
@ -272,8 +278,9 @@ nnoremap <leader>] :tag /[.#@]<c-r>=expand('<cword>')<cr><cr>
" bufexploer " bufexploer
nnoremap <leader>be :BufExplorer<CR> nnoremap <leader>o :BufExplorer<CR>
" undotree
nnoremap <leader>ut :UndotreeToggle<cr> nnoremap <leader>ut :UndotreeToggle<cr>
" let g:tagbar_type_css = { " let g:tagbar_type_css = {
" \ 'ctagstype' : 'css', " \ 'ctagstype' : 'css',