看板 Editor 關於我們 聯絡資訊
qas612820704: 你好我想問一下你 UltiSnips 的補齊是設什麼~?01/10 04:24
qas612820704: UltiSnips 如果設 tab 會被 Ycm 吃掉 01/10 04:24
qas612820704: 可是不設 tab 感覺用起來有那麼點不直覺 01/10 04:25
我是只避開衝突的地方,做最小的更動: let g:UltiSnipsExpandTrigger = "<C-j>" UltiSnips 的作者也提到: "Overloading one key to do more than one function in Vim will come back to bite you because there will always be situations where there is ambiguity." 這邊有幾個方法,有些還有效: http://stackoverflow.com/questions/14896327/ultisnips-and-youcompleteme 其中 http://stackoverflow.com/a/22253548 可能符合你的要求。 有興趣可以再看看 YouCompleteMe 的 issue 討論串: https://github.com/Valloric/YouCompleteMe/issues/36 -- http://changyuheng.github.io/ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.141.146.250 ※ 文章網址: https://www.ptt.cc/bbs/Editor/M.1420869059.A.5A7.html
qas612820704: 謝謝你! 01/10 15:05