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
21.3k stars 371 forks source link

Add the ability to customize or turn off AI Command Search on typing `#` in the terminal #2227

Open j-o-sh opened 1 year ago

j-o-sh commented 1 year ago

Discord username (optional)

No response

Describe the solution you'd like?

Have a way to either

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

Currently typing # in the terminal opens the AI Command Search Box. And as far as I found, this cannot be changed or disabled.

As # is actually the beginning of a commented line in most shells, I often use this, to remember a command for later in the bash history... By which I mean, I go to the start of the line of a complex command, type # and enter and then have access to it in the bash history.

Unfortunately with Warp, every time I try this, the AI Command Search pops up and traps me, so that I cannot execute that comment-command.

Additional context

No response

How important is this feature to you?

4

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

No response

dannyneira commented 1 year ago

Thanks for this feature request! Please +1 this request as it helps us gauge interest. We will post any updates here.

As a workaround, I recommend you press ESC after the # and it will disable AI Search for that command you run. Hope this helps.

blixt commented 1 year ago

I run into this issue daily because I very commonly write something like git commit -am "Add and then I don't remember the name of something so I quickly go Cmd+Left, type "#" and hit Enter, by pure reflex. But instead of the expected "add history entry that I can come back to later", my command is now being sent to a third party. Because this is a reflex and there might be secret information in the command I'm about to type, this feels very uncomfortable, in addition to being counterproductive.

I would really appreciate either that this functionality only happens when you're typing # on an empty line, or ideally have a way to disable the functionality altogether (there's another shortcut anyway I believe?)

jattenberg commented 1 year ago

control - space is used all the time in emacs, now it opens a useless ai chat window. I can't find a way to disable toe control-space ai hot key so.... the warp terminal just became useless for me. Was cool while it lasted!

dannyneira commented 1 year ago

Hi @jattenberg You can go to Settings > Keyboard Shortcut, search for Toggle Warp AI, and then "Clear" the key bind so there should no longer be a conflict with Emacs. I hope this helps!

https://user-images.githubusercontent.com/16809145/230141814-d3f39329-4c3e-4719-bacb-f89e212ac4a9.mp4

mcouthon commented 1 year ago

Is it possible to remap the # sign? Like @blixt I constantly use it to comment out a line before it's finished. I know I can press Esc, but I do it dozens of times a day, and it's a genuinely frustrating experience. I love Warp, and this is basically the only annoyance I have with it.

johnnaaron commented 9 months ago

It'd also be nice if we could hide the empty newline text "Type '#' for AI command suggestions"; it's pretty distracting.

mbtuckersimm commented 8 months ago

Just want to note that my employer is uncomfortable with the idea of terminal input and output going to OpenAI. I understand that it's not being used for training, but the possibility of sensitive data being sent to servers we don't control is a dealbreaker. I quite like Warp, but I'm not able to use it at work if there's no way to disable the AI features.

psmgeelen commented 7 months ago

Bump! and for the same reason as @msp-matt is highlighting

dannyneira commented 7 months ago

Hey folks, Warp never sends the contents of terminal commands and outputs to our servers (unless a user explicitly chooses to use our online features like Block Sharing). Warp does support disabling telemetry/crash reporting, using Warp offline, and deleting your Data. The telemetry we currently send is listed here. You can also use the network log to see exactly what's being sent along with details on the encryption and storage we use on our security page.

Also, note that we do offer bring your own LLM and zero data retention for Warp AI.

Finally, with regards to the # activation of AI command suggestions feature, we're actively working on a better experience for the feature which will use the existing CTRL-BACKTICK shortcut or * to trigger the AI search along with improved UX.

trashyms commented 7 months ago

Hello. Has this option been added or did I fail to find it in the settings Thanks for a rapid answer.

tygoetsch commented 4 months ago

Morning, I've already thumbsed-up the issue to show my support for this feature.

I heavily use the '#' sign to comment out commands so I can either return to them later or so I can use the terminal as a quick note-taking app for temporary text I don't intend to hold onto long-term.

I just learned about pressing the ESC key after typing '#', so I haven't had a chance to test it out in my workflow, however I think it would be extremely useful to just be able to customize which key activates the AI prompt as well as being able to disable that particular activation feature.

I still want to be able to use the AI suggestions, I just find this pinch-point particularly annoying (tbh, I don't understand how it got past quality assurance testing, but maybe the devs are t[c]sh users and didn't know?)

I do like Warp, and I think the devs have done a great job with it, but please fix this. Thank you!

j-o-sh commented 4 months ago

tbh. Despite Warp being a capable terminal emulator and the AI chat panel being super useful, this "feature" annoyed me enough that I am now happy with Kitty instead. 🤷‍♂️

abrahimzaman360 commented 1 month ago

Please disable the AI feature! I like copying from internet which is better instead of using AI trash

paulikt commented 3 weeks ago

Using anything that has active AI features is forbidden at my company. I love Warp and all of its features, and I don't rely on AI features at all. Not being able to turn AI off makes me unable to use warp at work.