Giter Club home page Giter Club logo

Comments (4)

EinfachToll avatar EinfachToll commented on May 22, 2024

Do you use the last stable version of Vimwiki or the version from the dev branch? The stable version didn't change in the last few weeks. In the dev branch I added the automatic generation of the table of contents, but it is disabled by default and shouldn't take 20 seconds. So, check the values of g:vimwiki_auto_export and g:vimwiki_auto_toc.
For further inspectation, check which plugins set an autocommand that execute when you write a buffer: :au BufWrite, :au BufWritePre, :au BufWritePost, :au BufWriteCmd

from vimwiki.

kaldrenon avatar kaldrenon commented on May 22, 2024

I use Vundle to manage plugins. I do not remember exactly the last time I ran :BundleUpdate, but I am probably on the stable branch of vimwiki because I did not deliberately target the dev branch. I'm on vimwiki 2.1

g:vimwiki_auto_export and g:vimwiki_auto_toc are unset

I don't have any Buf* autocmds that run for vimwiki buffers.

Again, this may not be a problem that vimwiki itself is causing, but I'm really stumped for techniques to track down the cause. I want to benchmark/log the sequence of events when I save (a la vim --startuptime) but don't know how.

from vimwiki.

EinfachToll avatar EinfachToll commented on May 22, 2024

You can watch which functions of any Vim scripts are called by using profile: :profile start logfile and then :profile func *, which logs the execution of every called script function in the file "logfile".
But a probably easier approach is plugin bisecting: remove half of your plugins and see if the issue is still present. If no, the problematic plugin is among the ones you removed, if yes, it's in the other half. Continue until you found the problematic plugin.

from vimwiki.

EinfachToll avatar EinfachToll commented on May 22, 2024

Feel free to reopen if the issue persists.

from vimwiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.