Skip to content

Instantly share code, notes, and snippets.

@tazjel
Forked from lencioni/autocomplete.vim
Created April 27, 2016 13:56
Show Gist options
  • Select an option

  • Save tazjel/09bd41991d3ef60c1d9172e5c18dc7e9 to your computer and use it in GitHub Desktop.

Select an option

Save tazjel/09bd41991d3ef60c1d9172e5c18dc7e9 to your computer and use it in GitHub Desktop.
UltiSnips and YouCompleteMe configuration
" YouCompleteMe and UltiSnips compatibility, with the helper of supertab
" (via http://stackoverflow.com/a/22253548/1626737)
let g:SuperTabDefaultCompletionType = '<C-n>'
let g:SuperTabCrMapping = 0
let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger = '<tab>'
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
let g:ycm_key_list_select_completion = ['<C-j>', '<C-n>', '<Down>']
let g:ycm_key_list_previous_completion = ['<C-k>', '<C-p>', '<Up>']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment