Skip to main content
edited title
Source Link
425nesp
  • 596
  • 5
  • 16

How to close all tabs with windows and terminals so I can quit

I have multiple tab pages. Some tab pages only have open files, some only have :terminals open, and some have a mix of files and terminals.

At the end of the day, I want to quit Vim. Normally, I go through every tab page and close every window manually. But is there a better way? I tried :wqa, but that doesn't work because I have terminals running in some of my tab pages.

How to close all tabs with windows and terminals

I have multiple tab pages. Some tab pages only have open files, some only have :terminals open, and some have a mix of files and terminals.

Normally, I go through every tab page and close every window manually. But is there a better way? I tried :wqa, but that doesn't work because I have terminals running in some of my tab pages.

How to close all tabs with windows and terminals so I can quit

I have multiple tab pages. Some tab pages only have open files, some only have :terminals open, and some have a mix of files and terminals.

At the end of the day, I want to quit Vim. Normally, I go through every tab page and close every window manually. But is there a better way? I tried :wqa, but that doesn't work because I have terminals running in some of my tab pages.

Source Link
425nesp
  • 596
  • 5
  • 16

How to close all tabs with windows and terminals

I have multiple tab pages. Some tab pages only have open files, some only have :terminals open, and some have a mix of files and terminals.

Normally, I go through every tab page and close every window manually. But is there a better way? I tried :wqa, but that doesn't work because I have terminals running in some of my tab pages.