आप टैब और बफ़र्स अप मिश्रण कर रहे हैं। एक टैब बस बफर प्रदर्शित करने का एक तरीका है, इसे बंद करना उन लोगों के लिए कुछ भी नहीं करता है।
यदि आप बफर सूची से बफर हटाना चाहते हैं, तो :bd
का उपयोग करें।
:[N]bd[elete][!] *:bd* *:bdel* *:bdelete* *E516*
:bd[elete][!] [N]
Unload buffer [N] (default: current buffer) and delete it from
the buffer list. If the buffer was changed, this fails,
unless when [!] is specified, in which case changes are lost.
The file remains unaffected. Any windows for this buffer are
closed. If buffer [N] is the current buffer, another buffer
will be displayed instead. This is the most recent entry in
the jump list that points into a loaded buffer.
Actually, the buffer isn't completely deleted, it is removed
from the buffer list |unlisted-buffer| and option values,
variables and mappings/abbreviations for the buffer are
cleared.
अद्यतन किया है यदि मेरे पास "टैब" है जिसमें कई बफर हैं? उदाहरण के लिए, एक लंबवत विभाजन में दो बफर के साथ-साथ एक टैब। क्या टैब से जुड़े सभी बफर को बंद करने के लिए कोई एकल आदेश है? – Jin
@ जेन: ': विंडो बीडी 'जो आप चाहते हैं वह करना चाहिए। – Marth
यह चाल है। धन्यवाद! – Jin