0

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

3

Try this:

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

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, privacy policy and cookie policy

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