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

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind