用vim-snippets安装ultisnip

时间:2014-11-30 21:42:51

标签: vim code-snippets ultisnips

我尝试使用vundle在vim上安装ultisnip,完全遵循以下代码:

" Snippets are separated from the engine. Add this if you want them: 
Bundle 'honza/vim-snippets'

" Trigger configuration. Do not use <tab> if you use
https://github.com/Valloric/YouCompleteMe.
let g:UltiSnipsExpandTrigger="<c-j>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"

" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit="vertical"

然后在vim :PluginInstall

安装没问题,但是当按ctrl + j时没有显示代码片段,没有显示列表。 我不知道hot wo配置vim-snippets与ultisnips进行交流

1 个答案:

答案 0 :(得分:1)

c-j是一个非常常见的映射,可以被其他插件/或tmux使用,尝试将映射更改为c-e