Change Tab keybinding to accept Copilot++ suggestion

Currently, if I’m hovering over an Intellisense suggestion, but there’s also a Copilot++ inline suggestion, pressing Tab prioritizes Copilot++ over Intellisense.

I’m used to using Tab with Intellisense and a different binding for copilot suggestions. I’ve been playing around with settings and keybindings but haven’t been able to resolve it.

Is it possible to change the keybinding for accepting Copilot++ suggestion from Tab to something else?

13 Likes

Not as of now I assume. There has been a feature request for this. I had the same problem and had to relearn using Tab for copilot++ and another keybinding for intellicence. Now it seems fine though, as I’m using copilot++ much more often than intellicence or other quick suggestions.

1 Like

See here for our decision: Copilot and intellisense: tab always triggers copilot over intellisense?

@amanrs is it functionally challenging to make them configurable because of the race condition?

From my perspective, it does add a level of friction. I’m coming over to Cursor from Webstorm/Pycharm. I used VS Code for years, but in the last year have preferred Jetbrains + Copilot over VS Code. Cursor definitely tips the scales back significantly but, as of now, I’m still using a combination of Cursor and Jetbrains. I imagine there’s a decent segment of Jetbrains users who might be looking at a similar transition because of the superior AI productivity features. The smoother you can make that transition, the better your shot at capturing a good chunk of users before Jetbrains potentially catches up.

Just my $0.02 because these are my two most often-used shortcuts.

1 Like

Thanks for the feedback, it shouldn’t be terrible, but we’ll look into it.

1 Like

Please make the Cursor Tab (formerly CoPilot++) accept action configurable. Just went through these frustrating steps:

  • I am experimenting with Cursor from a bespoke NeoVim setup. I want to use Alt+End (I use an unusual keyboard layout), not Tab, to accept Cursor Tab suggestions.
  • I search “Tab” in the Keyboard Shortcuts menu. There are 10 different commands bound to “Tab” in different contexts. There are a zillion commands in this menu as a whole. Great! Looks like everything is configurable. Surely Cursor’s flagship feature has a configurable keybinding since everything else does? One of these ten tab bindings must mean “accept Copilot++” suggestion (perhaps Accept Inline Edit)?
  • I create a new mapping for each of the 10 commands to my desired keybinding of Alt+End. Now every command mapped to “Tab” is also mapped to Alt+End
  • Pressing Alt+End when Cursor Tab presents a suggestion still does nothing.
  • I search this forum and discover this thread.
7 Likes

+100 on this.

This is so frustrating. I am unnecessarily occupying your mail support channels with this topic. And i had to add TabNine back into the mix, just so that i can use the keyboard shortcut that i’m used to from many other applications. For example from MS Office, Google Docs, my Terminal, …
But I specifically chose to pay for Cursor Tab / Copilot++, NOT tabnine.

Also, we don’t seem to be expressing a particular corner-case wish here - you can already find similar issues on Gitlab. Remapping Tab Accept Suggestion to another shortcut · Issue #1318 · getcursor/cursor · GitHub
._.

3 Likes

Another vote on this! I truly hate the tab key binding. I use tab to navigate through my code while i work.

Cursor copilot++ suggestions are subtle, and most often off the screen to the right, so it is very easy to accidentally accept additions and, much worse, deletions to my code while i navigate.

I want suggestion accept to be tied to a key pattern i don’t normally use, not one of the most common. It would be so easy to make cursor++ accept shift-tab or something!

And while we’re improving this system, make suggestions in the main screen by default, not offscreen, where we have to accept and undo, just to see.

I personally would prefer the diff view, most of the time. Give me a shortcut for that too please!

3 Likes

+1 on this.
Please, please, please make the Cursor Tab accept keybinding configurable.

It makes writing/navigating code a pain with cursor tab enabled, forcing me to disable it even though I would love to use it with a different keybinding.

I also had to disable Cursor Tab due to it overriding other commands that rely on tab (e.g. intellisense, indentation), but I’d like to assign it to another shortcut (e.g. cmd+tab).

+1 on this. I’m actually debating reverting to vscode because this doesn’t exist

1 Like

Hey guys, any updates here? Similar issues have been opened over a year ago, and it doesn’t seem like there’s any movement.
This is currently the thing that’s stopping me from purchasing the subscription.

1 Like

This seems like such a simple and basic feature that it blows my mind it isn’t already a thing, and continues to not be a thing months later :upside_down_face:

Cursor tab is nice, but it also constantly gets in my way when I want to just use the tab key for its original purpose. I basically can’t just use tab as the tab key without Cursor tab coming in like a wrecking ball to randomly start suggesting code which of course I then unintentionally accept and then have to undo, disable cursor tab, and try again. Very annoying.

2 Likes

The most common case where this causes a problem is managing indentation (since a lot of us are writing Python):

  • Press Tab to indent a line
  • Cursor is super fast now, so just before I pressed Tab it made a suggestion
  • Tab causes changes to the code that I didn’t expect or review, and often the line isn’t even indented.

I could remap all my indentation hotkeys I guess, but I would love to be more intentional about accepting Cursor Tab suggestions and tab for indentation is deep in my muscle memory at this point.

2 Likes

I understand the “Cursor Tab” marketing and I’m sure it sounds really nice to the marketing team and investors, but this is the most illogical, user unfriendly, anti dev thing I ever seen.

If you’re going to build dev products, don’t take advice from non dev people.

Please provide a reason why I can’t remap the tab key…

1 Like

I m looking forward to a solution for this as well as is pretty annoying.

Right now cursor keep messing on these cases:

  • when you try to make an import and vscode know where the file is but cursor put a totally random path which doesn’t even exist
  • when you try to insert tailwind classes that are autocompleted from the extension but cursor decide to allucintate and invent random classess
  • when you are filling any method where the ide alerady know the types and propose the following method but cursor decide that it does not like it
  • Actually all the times there is any other autocomplete I never wished to have cursor autocomplete instead so It would be better to disable it at all if there is any other suggestion from a different source

To be clear I want to use cursor autocomplete with tab but only if there is not any other suggestion from the ide/plugin/snippets etc…

So in the keybindings would be like this

Command Keybinding When
Accept Cursor suggestion Tab !hasOtherSuggestions

Is there a way to archieve this right now? because like this is not very usable.

2 Likes

+1 for this,
I also tried to change the TAB key bounding for Cursor and failed to do so, then found this thread.

Just like the guy above I am fine with having TAB for both IntelliSense and suggestions, as long as the IntelliSense takes priority. I shouldn’t have to fight with the IDE over if I want to access a field on an object or write 10 lines of code about the object. It should help me, not force me. And IDE generally knows the code better, altho it might not be able to help as much to invent new things, but it does knows the code base better than the AI, so whenever it has an idea, it should has priority over whatever the AI thinks is best. I might be wrong but my personal experience is as such.

I have considered changing the accept suggestion key to SHIFT+TAB, but couldn’t. This would be in line with my prior experience of moving from VSCode with Copilot (which is not at all as aggressive as Cursor) and my previous experience with VS itself. Not to mention that it probably would be more user-friendly for users just migrating to use AI-assisted tools like Cursor by not decreasing their speed when they are not actively using the AI features till they get the hang of it more.

+1
Ultra annoying while coding in Python

1 Like

I am a pro subscriber and this situation is particularly irritating. Especially when working in python indeed because of the important of indentation which are part of the python syntax.

Please @cursor team do something.

I’m considering cancelling my subscription and going back to VSCode because of this.

2 Likes

Hey, we do already have this on our feature backlog, but I don’t have an ETA for you on this yet! Hopefully we can ship this soon!