3 ms·
Ah, I don't know if magit has that feature. It's relatively easy conceptually though. You'd write a hook for magit that on branch change would check what buffe
by avar 17y ago
Ah, I don't know if magit has that feature. It's relatively easy conceptually though.
You'd write a hook for magit that on branch change would check what buffers were open to files within the repository and refresh their contents.
Maybe something like that exists already. I just press "r" to refresh the file from the filesystem when editing the individual files in this case.
- tumult 17y agomagit does have that feature (automatically reload files etc after changing branches.) What I want is that feature outside of magit (or other VCS integration) somehow.
- shabble 17y agotry enabling the auto-revert-mode minor mode. http://www.gnu.org/software/emacs/manual/html_node/emacs/Reverting.html http://www.gnu.org/software/emacs/manual/html_node/emacs/Rev...