wiki.vim icon indicating copy to clipboard operation
wiki.vim copied to clipboard

Plugin slows down the saving of files in vim

Open pmatulis opened this issue 2 years ago • 2 comments

After moving my vim plugins out of the way to identify whether they were causing a slowdown I determined that the wiki.vim plugin was causing it. When this plugin is moved out of the way the saving of files (:w) is immediate, but when it is enabled an approximate 2.5 seconds is needed to complete the operation regardless of whether the file in question is under the wiki_root or not.

pmatulis avatar Jun 24 '22 01:06 pmatulis

I did a test with a minimal .vimrc file and there is no slowdown. It must be caused by a combination with other things.

pmatulis avatar Jun 24 '22 02:06 pmatulis

After moving my vim plugins out of the way to identify whether they were causing a slowdown I determined that the wiki.vim plugin was causing it. When this plugin is moved out of the way the saving of files (:w) is immediate, but when it is enabled an approximate 2.5 seconds is needed to complete the operation regardless of whether the file in question is under the wiki_root or not.

I do not have any similar issues.

I did a test with a minimal .vimrc file and there is no slowdown. It must be caused by a combination with other things.

Yes, that is what I would expect. Let me know if you can reproduce this with a less minimal example, I'll be glad to help if I can.

lervag avatar Jun 24 '22 20:06 lervag