-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Middle Click + Drag Multicursor #11990
Comments
Interesting, so it acts like a drag but each new line becomes it's own multi cursor... Well, not quite a drag, as it doesn't extend a specific line's selection if the cursor moves vertically, only when it moves horizontally, but something like that. |
Ahh! This feature already exists, under |
Dang that was FAST! Thank you so much! |
…ies#12005) fixes zed-industries#11990 Release Notes: - Changed middle mouse down to trigger a columnar selection, creating a rectangle of multi cursors over a dragged region. ([zed-industries#11990](zed-industries#11990))
Hi! First, thanks for the feature! I've just noticed the selection has to be made in weird way though. To make it work, this is what I have to do:
My expectation was: middle click -> drag Is this intended? Zed preview 0.137.0, MacOS |
I am also observing a similar issue - simply middle-clicking and dragging does not activate multicursor select; I have to hold middle-click then left-click/drag then release middle-click to get a multicursor selection. It's almost as though middle-click has been bound to the Opt+Shift part of the "standard" keybind I also experience strange behaviour in a multi-pane editor environment - when selecting a block in pane A, pane B also appears to see selection/highlighting. When I change focus to the second pane (using keyboard shortcuts) I find that the second pane's selection is carried over from the first pane, rather than staying where it was before interaction. This behaviour does not seem to present with the "standard" Opt+Shift+LClickDrag binds. It seems as though all middle-click operations affect both panes and not just the one being interacted with. Zed preview 0.137.0, MacOS 12.7.4, 2021 MBP w/ M1 Pro |
I am also experiencing a strange behavior. If I open a new file and
|
Check for existing issues
Describe the feature
I would really like it if middle click + drag was added for creating multiple cursors and multiline selections similar to how Sublime, VSCode and Intellij editors do so.
I was frankly kind of surprised I couldn't find a feature request for it.
If applicable, add mockups / screenshots to help present your vision of the feature
Here's a little video of it working in Sublime Text
Screen.Recording.2024-05-17.at.1.26.54.PM.mov-slow-20240517-132826.mp4
The text was updated successfully, but these errors were encountered: