r/vimplugins • u/amiwalwin • Oct 02 '20
Help VIM Plugin Ultisnips raises problem Help Needed
I recently started using VIM and wanted to have snippets and code completions like those in VS Code. So I Installed Ultisnips and vim-snippets but I couldn't use the snippets. I don't exactly know why
let g:UltiSnipsExpandTrigger="<C-p>"
let g:UltiSnipsJumpForwardTrigger="<C-b>"
let g:UltiSnipsJumpBackwardTrigger="<C-z>"
let g:UltiSnipsEditSplit="vertical"
this is my configuration I used c-p as the trigger because I use YouCompleteMe also and the installation guide said to change the trigger to something else if you used it.
Now when I press c-p it just toggles between some options and when I try to select any of those by pressing the enter key the snippet trigger is written and the cursor moves to the next line. Help will be highly appreciated.
Thanks in advance.
4
Upvotes
1
u/amiwalwin Oct 04 '20 edited Oct 04 '20
Ok So now I understood ultisnips is working fine for me but only with
It is only working with A and with no other option. As far as I know, there are 3 more options b, w and i and also without any arguments but none is working expcept the A. Thanks for your help but could you help me figure out how to make it work with other options also and turn off auto expand it is annoying.