Last active
August 26, 2018 12:06
-
-
Save eapache/0c0abbdb2e810a3f1f4a to your computer and use it in GitHub Desktop.
vimrc for multiple-cursors and YouCompleteMe integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this still working ? if I try multiple-cursors in files that are about 400 lines vim and neovim just freeze. You can test by opening one of the files below.
I have my vimrc splited into these two files if you need to take a look on them: vim bultin options and vim plugins options.