remapped ultisnips completion shortcut to remove lag

This commit is contained in:
ManjaroOne666 2017-09-20 22:48:11 +01:00
parent 6e79c843b5
commit a56376cb5c
1 changed files with 3 additions and 18 deletions

21
vimrc
View File

@ -288,12 +288,12 @@ set completeopt+=noinsert
set complete-=i set complete-=i
set complete-=t set complete-=t
let g:mucomplete#chains = { 'default' : ['tags', 'c-p', 'incl'] } let g:mucomplete#chains = { 'default' : ['tags', 'c-p', 'incl', 'file'] }
let g:mucomplete#popup_direction = { 'path' : 1, 'c-p': 1, 'tags': 1, 'incl': 1 } let g:mucomplete#popup_direction = { 'path' : 1, 'c-p': 1, 'tags': 1, 'incl': 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')
" ALE " ALE
let g:ale_sign_error = '>>' let g:ale_sign_error = '>>'
@ -322,24 +322,9 @@ endfunction
"nmap <silent> <C-k> <Plug>(ale_previous_wrap) "nmap <silent> <C-k> <Plug>(ale_previous_wrap)
"nmap <silent> <C-j> <Plug>(ale_next_wrap) "nmap <silent> <C-j> <Plug>(ale_next_wrap)
"wordpress.vim
"let g:wordpress_vim_wordpress_path = "~/Projects/Wordpress/WordpressSource"
"let g:wordpress_vim_ctags_path = "/usr/bin/ctags"
" syntastic
"let g:syntastic_always_populate_loc_list = 1
"let g:syntastic_auto_loc_list = 0
"let g:syntastic_check_on_open = 1
"let g:syntastic_check_on_wq = 0
"let g:syntastic_stl_format = "[%E{%e E: %fe}%B{,} %W{%w W: %fw}]"
"let g:syntastic_scss_checkers = ['sass_lint']
"let g:syntastic_scss_sass_lint_args = "-v -c /home/ray/.config/sass-lint/sass-lint.yml"
" 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="<Esc><space>"
let g:UltiSnipsJumpForwardTrigger="<c-b>" let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>" let g:UltiSnipsJumpBackwardTrigger="<c-z>"