|
Is there a way to make UltiSnips and YouCompleteMe share a Tab binding, such that it will expand or proceed through a snippet if applicable and through completions otherwise? It seems like binding UltiSnips expand key to <Tab> prevents it from passing through to YCM.
|
# ¿ Aug 2, 2013 18:24 |
|
|
# ¿ May 4, 2024 12:19 |
|
SavageMessiah posted:YCM has ultisnips integration, read the docs. The only integration YCM provides is autocompleting the snippet's shortcut. You still need to press a key to expand it, and the author's suggestion is remapping UltiSnips to something that doesn't conflict in order to do so. I'd like them both to share a context-sensitive key, which I think should be possible with a function in VimScript.
|
# ¿ Aug 3, 2013 00:55 |
|
SavageMessiah posted:Gotcha. I was just messing with YCM a few days ago, I guess it is I who should read the docs. I ended up not using it because it doesn't play nicely with clojure. Yeah, luckily neocomplete is very nice and just as performant, with functioning integration with neosnippet. I like YCM's Jedi integration, though, so I'm still looking for a solution! xtal fucked around with this message at 04:48 on Aug 5, 2013 |
# ¿ Aug 3, 2013 19:44 |
|
For posterity, I fixed YCM/UltiSnips by installing SuperTab (which itself has UltiSnips integration) and setting it to trigger <C-Tab>, which I've remapped YCM to. Essentially, pressing tab either activates UltiSnips or passes the event to SuperTab, which emulates YCM's mapping. Works like a charm.
|
# ¿ Aug 7, 2013 01:00 |
|
e: I tried to explain that but it was dumb so I'm removing it.
|
# ¿ Aug 11, 2013 15:46 |
|
Submodules are perfectly fine
|
# ¿ Mar 3, 2017 15:06 |
|
Not really
|
# ¿ Mar 30, 2017 03:46 |
|
Having a terminal in your editor is dumb
|
# ¿ Mar 30, 2017 15:47 |
|
|
# ¿ May 4, 2024 12:19 |
|
My arrow keys are Fn+HJKL so lol
|
# ¿ Jun 2, 2017 22:15 |