If I have 10 tabs opened, I have to close each one using ":q" separately. How can I close them all at once?
+1
A:
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.
Simucal
2009-02-04 06:57:15
Note, this isn't my answer. I moved this out of the original non-question down to here.
Simucal
2009-02-04 07:00:51
+14
A:
Shortest/simplest/fastest way would be:
:qa
To save work in all tabs and quit:
:wqa
fuentesjr
2009-02-04 06:58:37
+1
A:
Adding to what fuentesjr said:
:qa!
Will force quit all tabs, if you don't care about saving.
Daniel Nadasi
2009-02-04 07:02:58