How do I close all open tabs at once?

后端 未结 8 1213
-上瘾入骨i
-上瘾入骨i 2021-01-29 17:28

If I have 10 tabs opened, I have to close each one using \":q\" separately.

How can I close them all at once?

8条回答
  •  花落未央
    2021-01-29 17:55

    here is an Dark Side way of closing ALL VIM INSTANCES on Linux/Mac

    :!killall vim -9
    

    Do not use it. It does what you ask but probably not the best way but fun way

提交回复
热议问题