ap / vim-buftabline

Forget Vim tabs – now you can have buffer tabs
http://www.vim.org/scripts/script.php?script_id=5057
MIT License
782 stars 75 forks source link

double click buffer will open other file named "No name" #15

Closed CaoPeng closed 8 years ago

CaoPeng commented 8 years ago
  1. Open 2 (or more) files
  2. :bnext / :bprev to switch buffer → ok
  3. Try double click/click the buffer to switch buffer → KO → opens another file named "No name"
ap commented 8 years ago

Thanks for prodding me into giving this another shot. I was all set to explain how this was not a bug I could fix, because it’s just how the tabline in Vim works, and plugins cannot control that. And that is still true. But I could use some of Vim’s builtin behaviour against itself, which had not occurred to me until now. So your bug ticket made the plugin better. Thank you!

ap commented 8 years ago

Oh – it will however still not allow you to switch tabs by clicking on them. I have tried to make that work and failed. I have explained more in #6.

It looks like NeoVim may allow this at some point (according to neovim/neovim#3871) but stock Vim does not.

regedarek commented 7 years ago

any updates after neovim 0.2.0?

ap commented 7 years ago

It wasn’t on my radar, so no, but thanks for the ping. I’ll take a look into what was implemented in NeoVim whether and how I can use it.

ap commented 7 years ago

@regedarek: I’ve added #32 to track this, so you can watch that if you want to be updated.