Skip to content

Instantly share code, notes, and snippets.

@eapache
Last active August 26, 2018 12:06
Show Gist options
  • Select an option

  • Save eapache/0c0abbdb2e810a3f1f4a to your computer and use it in GitHub Desktop.

Select an option

Save eapache/0c0abbdb2e810a3f1f4a to your computer and use it in GitHub Desktop.
vimrc for multiple-cursors and YouCompleteMe integration
" Experimentally integrate YouCompleteMe with vim-multiple-cursors, otherwise
" the numerous Cursor events cause great slowness
" (https://github.com/kristijanhusak/vim-multiple-cursors/issues/4)
function Multiple_cursors_before()
let s:old_ycm_whitelist = g:ycm_filetype_whitelist
let g:ycm_filetype_whitelist = {}
endfunction
function Multiple_cursors_after()
let g:ycm_filetype_whitelist = s:old_ycm_whitelist
endfunction
@tkkcc

tkkcc commented Aug 26, 2018

Copy link
Copy Markdown

Good, works as expect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment