Monday, November 17, 2014

TabClose autocmd?

Is there anyway to emulate the function of an autocmd which would trigger on closing of a Tab?

The reason is, I'd like to have a function (maybe a plugin) to track, in order, the most-recently-used (MRU) tabs, and maintaining that history requires reshuffling when a tab is closed. I looked through h: autocmd-events and though TabLeave is promising, ultimately it's insufficient because tabs can be closed without having focus (e.g. :tabonly, or mouse). Various file and buffer triggers/events aren't suitable because files/buffers exist independently of tabs. Any ideas, or is this out of reach?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: