set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'pseewald/vim-anyfold'
Plugin 'terryma/vim-multiple-cursors'
call vundle#end() " required
filetype plugin indent on " required
autocmd Filetype * AnyFoldActivate
let g:multi_cursor_start_word_key = '<C-s>'
let g:multi_cursor_next_key = '<C-s>'
let g:multi_cursor_quit_key = '<Esc>'
Unintentional folding (without
set foldlevel=99
)Noticeable lag (with
set foldlevel=99
)Cause
Seems to be caused by this line.
Minimal vim config to recreate this