- I use Vim & Git together.
- I tend to merge/switch Git branches alot.
-
I tend to have lots of vim buffers open.
-
Is there a way to tell vim: when I execute this git command (which switches branches), reload all buffers? Since I have hooks into all my vim-git interaction, letting vim know when to do the reload is not a problem. The question is: how to force vim to reload all buffers?
I use Vim & Git together. I tend to merge/switch Git branches alot. I
Share
You can try setting the
autoreadoption on.From the vim help: