zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
47.97k stars 2.83k forks source link

Allow binding middle mouse button #11786

Open slightlyfaulty opened 4 months ago

slightlyfaulty commented 4 months ago

Check for existing issues

Describe the feature

I've been testing Zed on Linux for a little while, and I was surprised to find no support or even a mention of middle mouse binding.

As you may know, Atom and Sublime both allow binding middle mouse click.

All JetBrains IDEs allow it too and use middle click as the default for Go To Definition.

Visual Studio has a MiddleClickDefinition plugin with 8000+ installs.

It's been one of the top requested features for VSCode since 2016, but sadly has been mostly ignored.

I know all the vim wizards have already thrown their mice away, but for the rest of us commonfolk this feature would go a long way towards easing the transition from other editors/IDEs.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

JosephTLyons commented 4 months ago

Linking to:

Will keep this open, as it makes a more compelling case for adding it.