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
41.91k stars 2.19k forks source link

Provide MOUSE block selection with OPTION + click #4852

Open krstp opened 1 year ago

krstp commented 1 year ago

Check for existing issues

Describe the feature

Currently there is a GREAT keyboard shortcut feature to select block of text with OPTION+CMD+UP/DOWN followed with SHIFT+LEFT/RIGHT, which does most of the wrangling necessary. However, would be nice to have Mac wide mapping of OPTION+MOUSE for block selection as well.

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

A sample expected block selection exoected from OPTION+MOUSE action (here visualized result of keyboard shortcuts usage): block_selection

porsager commented 8 months ago

This is possible with option+shift and mouse now, but it would be great to have option + mouse directly like in sublime.

We're also missing the option to add/subtract to that selection - https://github.com/zed-industries/zed/issues/4458

krstp commented 8 months ago

Indeed:

finscn commented 3 months ago

I like OPT+ !