您的位置:首页 > 运维架构 > Linux

Vim-multiple-cursors与neocomplete的冲突

2015-08-14 09:28 645 查看
嗯,装上才发现这两个有冲突,具体表现是这样。

不但每个光标都有个提示窗口,还很卡。



然后看了看官网已经解决了。这里

vimrc添加

" Called once right before you start selecting multiple cursors
function! Multiple_cursors_before()
if exists(':NeoCompleteLock')==2
exe 'NeoCompleteLock'
endif
endfunction

" Called once only when the multiple selection is canceled (default <Esc>)
function! Multiple_cursors_after()
if exists(':NeoCompleteUnlock')==2
exe 'NeoCompleteUnlock'
endif
endfunction
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  vim neocpmplet linux 插件