zefei / vim-wintabs

Modern buffer manager for Vim
MIT License
325 stars 25 forks source link

Request: Ability to click on statusline buffers #52

Closed theethernaut closed 5 years ago

theethernaut commented 5 years ago

It would be awesome if I could click on a buffer item in the statusline of a window and have that window switch to that buffer. Is this possible? I imagine it would be if there is a way to make an area within the statusline clickable and associate some function to the mouse event.

zefei commented 5 years ago

@ajsantander wintabs supports click on tabline on neovim because neovim provides such API. There's no click API on statusline so this isn't possible from plugin. I'd happy to implement such API if we can add such API to vim/neovim.