" Disable YouCompleteMe when using vim-multiple-cursors
"
function! Multiple_cursors_before()
    if exists('*youcompleteme#EnableCursorMovedAutocommands')
        call youcompleteme#DisableCursorMovedAutocommands()
    endif
endfunction

function! Multiple_cursors_after()
    if exists('*youcompleteme#EnableCursorMovedAutocommands')
        call youcompleteme#EnableCursorMovedAutocommands()
    endif
endfunction

" Disable YouCompleteMe when using vim-multiple-cursors
"
function! Multiple_cursors_before()
    let b:deoplete_disable_auto_complete = 1
endfunction

function! Multiple_cursors_after()
    let b:deoplete_disable_auto_complete = 0
endfunction

Disable deoplete while using multiple cursors
[vim] Disable deoplete while using multiple cursors

solarnz/dotfiles