简体   繁体   English

Tab键不再触发vim sninpmate片段的自动完成

[英]Tab key no longer triggers autocomplete for vim sninpmate snippets

after long hours of vim configuration, I found out that I broke the snipmate plugin. 经过长时间的vim配置,我发现我打破了snipmate插件。 Hitting the tab key no longer works. 按下Tab键不再起作用。 Any experiences? 有经验吗? 'Yeap I know there are million reasons why it might be broken, but was hoping others have experienced it before. “是的,我知道它可能被损坏的原因有百万,但我希望其他人以前曾经经历过。 So I tried this 所以我尝试了这个

:verbose map<Tab>

And this was what I noticed 这就是我注意到的

x  <Tab>       * s<C-O>:let g:snipmate_content_visual=getreg( 1 )<CR>
        Last set from ~/.vim/bundle/vim-snipmate/after/plugin/snipMate.vim
s  <Tab>       * <Esc>i<Right><C-R>=snipMate#TriggerSnippet()<CR>
        Last set from ~/.vim/bundle/vim-snipmate/after/plugin/snipMate.vim

Things seem to look fine from the verbose output. 从详细的输出看,事情看起来还不错。 Any thoughts? 有什么想法吗?

删除了我的vimrc中的设置粘贴行,它起作用了!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM