Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cycle through autocomplete suggestions without arrows #248

Open
igorlakic opened this issue Mar 13, 2019 · 1 comment
Open

Cycle through autocomplete suggestions without arrows #248

igorlakic opened this issue Mar 13, 2019 · 1 comment
Labels

Comments

@igorlakic
Copy link

igorlakic commented Mar 13, 2019

It would be really nice to be able to cycle through the autocomplete suggestions without using the arrow keys.
Maybe using Ctrl+N/Ctrl+P and/or Ctrl+J/Ctrl+K.

The same thing was successfully implemented in the Vim plugin (see here)

@abhagsain
Copy link

@igorlakic I'm using these keybinding settings. Put this in your keybindings.json

 {
    "key": "alt+j",
    "command": "workbench.action.quickOpenNavigateNext"
  },
  {
    "key": "alt+k",
    "command": "workbench.action.quickOpenNavigatePrevious"
  },
  {
    "key": "alt+j",

    "command": "selectNextSuggestion",

    "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  },

  {
    "key": "alt+k",

    "command": "selectPrevSuggestion",

    "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
  }  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants