I have enabled syntax based folding. Why is Vim so slow?

Syntax based folding is currently rather slow in Vim and will possibly slow down Vim considerably. There is an issue in the todo list to fix this, but the todo list is rather long and it may take a while until this will be fixed. You can find the issue in the todo list, if you read todo.txt followed by a search for “folding with ‘foldmethod’” A workaround is to temporarily set the foldmethod to manual while in insert mode. This is described in the wiki at: http://vim.wikia.com/wiki/Keep_folds_closed_while_inserting_text

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind