helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
32.51k stars 2.4k forks source link

Buffer navigation through clicking on bufferline #4942

Open xJonathanLEI opened 1 year ago

xJonathanLEI commented 1 year ago

Navigating through buffers via the keyboard is fast accurate. However there are cases where one would like to navigate through mouse:

Being able to click on a bufferline item to navigate to the buffer solves this. The nvim bufferline plugin has this and it's handy.

AddictArts commented 1 year ago

👍

jameynakama commented 6 months ago

Is this not being considered anymore?

the-mikedavis commented 6 months ago

There are a few PRs that we need to look at that address this. I removed the tags just because it's not super straightforward so I wouldn't consider it to be an easy issue. But I think it would be a nice feature to have

ElYaiko commented 1 month ago

Any update?

lynnpepin commented 1 month ago

I've fallen in love with the Helix editor recently and I'd love to put some time into this issue. The gentle learning curve is in large part to Helix's good mouse support. I think bufferline mouse support would be an appreciated feature in this direction.

I've done a review of the related issues and PRs, which I'm sharing here in case it's useful for anyone else :)

I saw two duplicate issues (6950, 5102) with out much discussion.

And four PRs across four authors, each with a different approach to support:

From my perspective, it looks like 5335 or 6120 make for candidates, where 5335 would need some effort to make "fresh", and 6120 might be due some fresh eyes? Does this sound correct? (It's certainly possible I missed something relevant)