Skip to content
This repository has been archived by the owner on Apr 4, 2021. It is now read-only.

Where is close button? #2

Closed
noscript opened this issue Mar 5, 2014 · 4 comments
Closed

Where is close button? #2

noscript opened this issue Mar 5, 2014 · 4 comments

Comments

@noscript
Copy link

noscript commented Mar 5, 2014

I wish there would be a close button from the default tabline. Thanks!

@mkitt
Copy link
Owner

mkitt commented May 18, 2014

I believe this is part of the default tabline included within Vim, but I'm not positive. I typically just type

tabc2

with 2 being the number of the tab I wish to close. This for me, is way faster than reaching for the mouse and triggering a close button. I most likely won't add this in since I really want my tab displays to be incredibly succinct. Sorry.

@mkitt mkitt closed this as completed May 18, 2014
@noscript
Copy link
Author

noscript commented Jun 5, 2014

This can be optional. Will you accept a pull request?

@mkitt
Copy link
Owner

mkitt commented Jun 5, 2014

Absolutely.

@jimafisk
Copy link
Contributor

Wrapping PR #4 in a conditional like this:

  if (exists("g:tablineclosebutton"))
    let s .= '%=%999XX'
  endif

Allows you to put the following line in your ~/.vimrc to make the close button appear:
let g:tablineclosebutton=1

I'd personally like to have the close button to help make vim more accessible to newcomers. Thanks for the plugin and the patch! Looks great!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants