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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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