1

I am developing a gVim plugin that manages/reorganizes panels, buffers and tabs.

However, while most programmatic re-arranging take milliseconds, they can still look very messy to the eyes while you see re-positionings, resizings, etc take place. Specially the more complex ones.

So, my question: is there a way to programaticaly pause gVim from rendering/refreshing/showing changes to the screen and then also grammatically unpause it?

If not natively, are there any workarounds?

My main focus gVim, but if a solution is only possible for Vim, I can live with that too.

1
  • This question would be easier to answer if you provided enough information so others could reproduce your issue.
    – Friedrich
    Sep 22 at 5:57

1 Answer 1

1

I would try:

set lazyredraw

Remark: in my experience it has only an effect on Vim and not on gVim.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.