As I said before, vim is my weapon of choice when it comes to software development. Well, MacVim since I use a Mac, but aside from some eye-candy, it’s pretty much the same. You can see my current vim configuration files on this Github repository.
However, one problem I was experimenting was a clash between two very popular vim plugins – vim-multiple-cursors and YouCompleteMe – which manifested by slowing down the environment to the point it becomes unusable when using the features provided by the “multiple cursors” plugin because YouCompleteMe tries to provide suggestions on all marked cursor locations.
After googling around I’ve yet to find a perfect solution where YouCompleteMe provides suggestions in only one place and vim-multiple-cursors takes it from there, but I’ve managed to get the editor to a usable state by disabling YCM when multiple cursors is activated by adding these lines to my .vimrc file:
" slow multiple_cursors & YCM
let g:ycm_auto_trigger = 0
let g:ycm_auto_trigger = 1
Hope it spears others from headaches.