Search code examples
macosvisual-studio-codegithub-copilot

Can I customize option key + [in Mac?


I'm using copilot.

I need to use option + [, to get another suggestions from copilot.

But on my M1 PRO, if I press option + [, ' or " comes out.

Is there any way to modify this?

In order to use other suggestions in copilot, I changed the shortcut corresponding to option + [ in vscode.

option + [ pressing, I get ' or "..


Solution

  • In the CoPilot docs, see for Visual Studio Code "Keyboard shortcuts for GitHub Copilot". Note the command names.

    To customize the key binding in VS Code, open Keyboard Shortcuts (cmd-k cmd-s) and search for editor.action.inlineSuggest.showNext, which is the command name for "Show next inline suggestion". Double-click to change the key binding.