3 ms·
A few comments… - :help 'confirm'/:help :confirm basically provides most of this but it sadly relies on :help :browse, which is a GUI-only feature. - Unless y
by johncoltrane 4y ago
A few comments…
- :help 'confirm'/:help :confirm basically provides most of this but it sadly relies on :help :browse, which is a GUI-only feature.
- Unless you have hard requirements that you didn't disclose, micromanaging buffers is an anti-pattern. In your "Split" scenario, you could simply edit another buffer. There is no need to delete the current buffer at all: 3 buffers, 30 buffers, 300 buffers… Vim doesn't care so you shouldn't.