As the title. Basically I want to apply set linebreak to the gundo window.

2 Answers 2


Try this:

augroup MyGundo
    au BufWinEnter __Gundo_Preview__ :setl linebreak wrap
augroup end
  • Yes, that's it! I just failed in finding the name of the buffer:-)
    – ryuichiro
    Commented Sep 21, 2015 at 17:50

Before you get better answer, you can go to /autoload/gundo.vim (or wherever it is), there should be two functions GundoSettingsGraph() and GundoSettingsPreview() (depends on which you desire to change), and there you can change setlocal nowrap to setlocal wrap.

Your Answer

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

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