I would like to have different mappings for closing a window/tab, which would either select the next/right tab (default), or the left/previous one.
This should apply to both closing the last window and closing the whole tab. I could imagine writing a function to wrap this, and then mapping it to closing a buffer and tab, but there might be some option I am missing. Since Vim appears to default to "select next/right" tab, the function/mapping would have to take care of doing "gT" afterwards - if a tab has been closed. Is there a better way to approach this? Cheers, Daniel. -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
