From 9735a467b1eb62de383563dca7aff8e0273f1517 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 8 Jun 2016 16:50:15 +0100 Subject: [.vimrc] Disable deoplete when using multiple-cursors --- vim/.vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index f4cd573..8ef50a8 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -200,6 +200,14 @@ if !exists('g:ycm_semantic_triggers') let g:ycm_semantic_triggers.tex = ['re!\\[A-Za-z]*(ref|cite)[A-Za-z]*([^]]*])?{([^}]*, ?)*' ] endif +" Plugins interactions +function! Multiple_cursors_before() + let b:deoplete_disable_auto_complete = 1 +endfunction + +function! Multiple_cursors_after() + let b:deoplete_disable_auto_complete = 0 +endfunction "" Vim variables let g:netrw_bufsettings='relativenumber' -- cgit v1.2.3