Skip to content

Need Help to remap bindings for autosuggestions #8578

Answered by natac13
OverRevvv asked this question in Q&A
Discussion options

You must be logged in to vote

in your keybindings.json

  {
    "key": "cmd+j",
    "command": "selectNextSuggestion",
    "when": "suggestWidgetVisible && textInputFocus"
  },
  {
    "key": "cmd+k",
    "command": "selectPrevSuggestion",
    "when": "suggestWidgetVisible && textInputFocus"
  },

  {
    "key": "cmd+J",
    "command": "selectNextCodeAction",
    "when": "codeActionMenuVisible"
  },
  {
    "key": "cmd+k",
    "command": "selectPrevCodeAction",
    "when": "codeActionMenuVisible"
  },
  {
    "key": "cmd+j",
    "command": "workbench.action.quickOpenSelectNext",
    "when": "inQuickOpen"
  },
  {
    "key": "cmd+k",
    "command": "workbench.action.quickOpenSelectPrevious",
    "when": "inQuickOpen"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@OverRevvv
Comment options

Answer selected by OverRevvv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants