How do I close all open tabs at once?
If I have 10 tabs opened, I have to close each one using ":q" separately. How can I close them all at once? fuentesjr Shortest/simplest/fastest way would be: :qa To save work in all tabs and quit: :wqa I often use :tabo to close all other tabs. That can be done with the following command (in normal or escape mode): :tabdo :q "tabdo" apparently executes the command for all the open tabs. Adding to what fuentesjr said: :qa! Will force quit all tabs, if you don't care about saving. You can use any of these Vim Ex commands to Exit Multiple Windows And Buffers : :qa :qall Exit Vim, unless there are