summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-06-08 16:50:15 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-06-08 16:50:15 +0100
commit9735a467b1eb62de383563dca7aff8e0273f1517 (patch)
tree24379f9834420848992e6e5304d5fdf3e56beb95 /vim
parentd072d2e0a1d13bd8873f2377a80672cae0180829 (diff)
[.vimrc] Disable deoplete when using multiple-cursors
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc8
1 files changed, 8 insertions, 0 deletions
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'