How do you reload all vim windows at once? -


i have few files open in vim, in multiple windows. there command :e reload buffers files have open? need because sometime alter of files editor while open in vim.

the :windo command windows :bufdo buffers. is:

 :windo e 

should cycle through visible windows (i.e, not windows on other tabs, if any) , execute ':e' command. likewise:

 :bufdo e 

would cycle through buffers in buffer list (i.e., no "hidden" buffers) , execute same command.

note may have buffers in buffer list not displayed in window. whether use ':windo e' or ':bufdo e' depends on want.

relevant here: http://vimdoc.sourceforge.net/htmldoc/windows.html#list-repeat


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -