Ultisnips: UltiSnips tab triggering Not Working after installing the YouCompleteMe

Created on 11 Aug 2016  路  5Comments  路  Source: SirVer/ultisnips

I am new vimmer and vundler.
At first i installed the UltiSnips ,when i hit the trigger it works. But problem is it is not showing the dropdown completions but if i hit the tab it expands.One of my friends suggested to use the

YouCompleteMe

for the feature of showing all the snippets while typing but after installing my tab trigger is remapped to some other functionality Now the list of snippets nor snippets expanding neither is working. <Tab> * <C-R>=UltiSnips#ExpandSnippet()<CR> This is my first mapping after installing the YouCompleteMe it changed like this <Tab> * pumvisible() ? "\<C-N>" : "\<Tab>"

user question

Most helpful comment

@blackode: Try to add following mapping into your

inoremap <Tab> <c-r>=UltiSnips#ExpandSnippet()<cr>

All 5 comments

@blackode: Try to map it back to the UltiSnips mapping.

@seletskiy thanks for the quick response
hey I tried like this based on some suggestions

> let g:UltiSnipsExpandTrigger="<tab>"
But Nothing happened same problem......

@blackode: Try to add following mapping into your

inoremap <Tab> <c-r>=UltiSnips#ExpandSnippet()<cr>

@seletskiy Thanks a lot It worked sorry for late reply ........ just had sight of it .........

@blackode: Try to add following mapping into your

inoremap =UltiSnips#ExpandSnippet()

The problem with that setting is it disables the ability to validate a suggestion with <Tab> :disappointed:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carlitux picture carlitux  路  3Comments

raorm picture raorm  路  4Comments

zuntik picture zuntik  路  7Comments

robenkleene picture robenkleene  路  8Comments

ghost picture ghost  路  8Comments