0

It is a while I am using snippet plugin in vim along with snipMate. I am totally happy with it.

My problem is after pressing the first tab (and autocompletion) I can not jump to next position in a snippet.

I guess maybe some setting in vimrc impede snippet from working. for example, I want this custom snippet to work properly. It is located in my ./vim/bundle/vim-snippets/snippet/c.snippet

# for (custom)
snippet forr
    for (int ${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}){
        ${5}
    }

my .vimrc is here: https://github.com/Aznaveh/defaultSetting/blob/master/.vimrc my .bashrc is also there if any alias caused the problem.

Aznaveh
  • 558
  • 8
  • 27

1 Answers1

0

The problem is YouCompleteMe addon. Here is a line of my .vimrc

" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
let g:UltiSnipsExpandTrigger="<TAB>"

I use Vundle and I had to use :PluginClean to clean that addon

Aznaveh
  • 558
  • 8
  • 27