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

后端 未结 2 438
灰色年华
灰色年华 2021-02-04 02:04

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,

2条回答
  •  没有蜡笔的小新
    2021-02-04 02:18

    It looks like jumping to the next tabstop was mapped to control j. I switched it to tab in the ultisnips source.

    " The trigger used to jump forward to the next placeholder.
    " NOTE: expansion and forward jumping can, but needn't be the same trigger
    
    if !exists("g:UltiSnipsJumpForwardTrigger")
        let g:UltiSnipsJumpForwardTrigger = ""
    endif
    

提交回复
热议问题