How to stop '@' sign being prepended to URLs so they are editable?

Every time I type a URL in composer or chat, cursor adds an ‘@’ symbol and the URL is no longer editable as text. How do I disable this?

1 Like

This is a feature to show you that the URL you’re pasting in is going to be crawled and form part of the context.

If you need to edit the URL, I’d suggest posting it in an empty file first and editing it there before posting it into the chat.

You can also click on the link and a menu will appear with the option “unlink” - that turns it back into editable text you can change as much as you like.

You can then go back and put an @ on the front and it’ll offer you an option to “Add link”. From experience, it’s a little janky at that point because you tend to end up with the text version there too and have to tidy it up. But it’s a reasonable alternative to using a separate editor.

3 Likes

Thanks. I was aware of the menu. I was hoping to avoid the extra clicks.
I’ve also discovered that if I omit the https:// part, the URL will stay editable without having to bring up a menu.

This is my biggest annoyance with cursor right now.

Cursor should just paste in the URL as text and not take special action unless a user types @ before it. This behavior would align with current behavior for pasting in text and using @ for referencing things.

The automatic @ for pasted URLs is such a headache.

1 Like

You should be able to paste a URL using CMD / CTRL + Shift + V to stop Cursor from trying to evaluate it, and make it a “live” URL to look up.

Let me know if this doesn’t work for you though.

Thanks. That works, but this is still not good/intuitive UX imo.

cmd+v should work like normal and just paste the URL as text. Or we use @ prior to pasting the text if we want it to become context…like how all other context works.

Should be:

  • cmd+v - pastes url as text
  • @<pasteUrl> - adds it as context

The current behavior 1.) differs from how we should expect cmd+v to work system wide, and 2.) differs from how other linked context is added b/c we otherwise always prepend with @

Thanks for the feedback, good suggestion on how the @ symbol could be used to add as context, will feed back to the team!

1 Like