warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.99k stars 359 forks source link

Support Alt Click and OPT-CLICK to Navigate Through Current Command #775

Open shaddoxac opened 2 years ago

shaddoxac commented 2 years ago

Describe the solution you'd like?

Alt clicking (or command clicking) on any character in the current command moves the cursor to that character, even when inside a program.

In iTerm2, I'm able to alt click anywhere in my current line to move the cursor to that part of the line. This applies regardless of whether of I'm in a program or not (such as sql or an interpreter). I would really love to see this feature in Warp - it's probably the greatest issue keeping me from recommending it over iTerm atm.

Is your feature request related to a problem? Please describe.

There are many applications for alt clicking on the terminal.

These include but not at all limited to:

Additional context

No response

AndyDyer commented 2 years ago

bump

shaddoxac commented 2 years ago

Updated to specify that control clicking works when outside an encapsulating program in warp.

elviskahoro commented 2 years ago

Thanks for submitting! Will circle back when this is a work in progress.

Deekor commented 1 year ago

Please.

rushimusmaximus commented 1 year ago

+1 This is pretty much the only thing I've missed since moving to Warp. A co-worker mentioned this is the one thing preventing him from switching.

Deekor commented 1 year ago

+1 This is pretty much the only thing I've missed since moving to Warp. A co-worker mentioned this is the one thing preventing him from switching.

This is the only reason i dont use warp

elviskahoro commented 10 months ago

Can someone post a video of the desired behavior from iTerm?

AFAIK clicking in the Input Editor moves the cursor to where you clicked, is this request for moving the cursor within a Block (Command Output)?

itsamrit commented 2 months ago

I loved Warp so much. But this is the reason I switched back to iterm2

itsamrit commented 2 months ago

Can you please add this feature in the next version?

oncealong commented 1 month ago

like this: https://www.reddit.com/r/mac/comments/gpo8fs/option_click_to_place_your_cursor_wherever_in/

Maybe not many people know Opinion+Click, but for those who know it, they are experts among terminal users, and Optional+Click is a killer feature for them. They will use or reject a terminal because of this feature.

Please add this feature

itsamrit commented 1 month ago

Yes, Please add this feature in the next release if possible