P/vim_debugging_slow_vimwiki_diary

vimwiki’s diary generation was slow. Originally I thought certain note was too complicated, but tried to debug it.

I followed a url with a description of vim debugging techniques. The one that worked was:

:set verbose=9
:set verbosefile=/tmp/output.txt
:verbose {some action}

and noticed that the markdown folding was there. Which also explains why the undo would also take forever. I added to .vimrc-nv:

let g:vim_markdown_folding_disabled = 1

and things are fast again

tags:#vim