-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clickable buffers in tabline #369
Comments
unfortunately this cannot be done. the tabline is supposed to be used for tabs, not buffers....and airline is more or less using a clever hack to display the list of buffers instead. all the exposed mouse events assume you are clicking on tabs....so unless support is exposed by vim itself, there's nothing i can do here.... |
I just had the same feature wish as @r4d2 above. Tabline is used by quite a lot of people only for buffers; maybe there's another way to do this. |
@robinro i don't know of an easy way to do this...vim only exposes that "tab 3" was clicked. there's no autocmd that exposes that the mouse was clicked. |
@taohex You write |
Hi, @ZyX-I could you please give us a simple example of how to make buffer tabline clickable after applying your patch to neovim? Thank you! |
@harrysummer Buffer segment for buffer 42 should look like
where
|
@bling Note that my PR was merged into Neovim, so this issue can be reopened. PR added |
I'll look into it. |
This should theoretically fix vim-airline#369 Testing would be appreciated, as I do not use NeoVim
This should theoretically fix vim-airline#369 Testing would be appreciated, as I do not use NeoVim
This should theoretically fix vim-airline#369 Testing would be appreciated, as I do not use NeoVim
I realise this issue is closed but I had a related question about using airline with tabs and buffers. It seems if they are both enabled in airline's tabline and if one clicks on the current tab filename in the top right corner it toggles to show the 'buffers' but how does one switch back to tab view? |
I think this is an unintended side-effect, this is not supposed to happen at all, I believe. This is a neovim thing, right? |
No this is happening in vim v7 and v8 on OSX and Linux. |
Hey guys! I'm just too confused with all those referenced issues/merges and cloded tags. |
clickable buffer line is supported only in neovim. In Vim closing the current tabpage should occur if you click on the |
OK thanks for the hint! If anybody else has this issue: try |
@chrisbra hello I can not understand your last comment, when double click on tabline, it will create a new tab, any option for this? as I know, I can use |
@wsdjeg If |
@ZyX-I Thanks, I have added the feature to my neovim's config, it works well for me now. |
Could macvim be supported? |
It is a neovim only feature
… Am 30.04.2020 um 07:04 schrieb sanigo ***@***.***>:
Could macvim be supported?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Reopen this for Vim |
What do you mean? It currently is not possible for vim
… Am 27.08.2020 um 18:26 schrieb Unai Hernández Minaberry ***@***.***>:
Reopen this for Vim
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
If tabs are clickable, buffers why not? |
Please read the complete issue. It is mentioned there several times
… Am 27.08.2020 um 18:34 schrieb Unai Hernández Minaberry ***@***.***>:
What do you mean? It currently is not possible for vim
If tabs are clickable, buffers why not?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
First of all, thanks for vim-airline - it's awesome! 👍
A small remark:
So far only tabs are clickable in the tabline, not the buffers in case there is only one tab. Double click on a buffer opens a new empty tab (is this intended?).
It would be cool if you could fix this.
Thanks!
The text was updated successfully, but these errors were encountered: