Vim Ultisnips - How do I move to the next placeholder or tabstop?

Bryan picture Bryan · Sep 26, 2013 · Viewed 7.4k times · Source

I just installed a brand new copy of Macvim and UltiSnips, but I can't figure out how to move to the next completions using tabstops and placeholders.

When I press tab, it simply adds a tab space.

My guess is that the tab key was remapped in another plugin or vimrc, so I went with fresh installs and an empty ~/.vim folder. Still nothing...

How do I move to the next tabstop? Is there a key mapping I can set?

Answer

pnezis picture pnezis · Sep 27, 2013

I have the following in my vimrc:

" Set ultisnips triggers
let g:UltiSnipsExpandTrigger="<tab>"                                            
let g:UltiSnipsJumpForwardTrigger="<tab>"                                       
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"