vimautocompletemacvimultisnips

UltiSnips and YouCompleteMe


I have bundles ultisnips and youcompleteme installed on my macvim. The problem is that ultisnips doesn't work because tab is bound by ycm. I tried putting let g:UltiSnipsExpandTrigger = "<s-tab>" so that I can trigger the snippet completion with shift-tab, but it doesn't work for some unknown reason. I could use caps as the trigger, but so far I've found no way to do that.

Do any of you use those two add-ons together? What can I do to make shift-tab work? Can you recommend another key to trigger snippets?


Solution

  • i have this in my vimrc

    "" YouCompleteMe
    let g:ycm_key_list_previous_completion=['<Up>']
    
    "" Ultisnips
    let g:UltiSnipsExpandTrigger="<c-tab>"
    let g:UltiSnipsListSnippets="<c-s-tab>"
    

    thats what i did on my first try, but i misspelled UltiSnips with Ultisnips.. oh well, worked out in the end!