3

Is it possible to send an argument, or make a setting, in VSCode so that using the named function always selects the first match without confirm?

I want to rebind to another key than Ctrl-tab (leader + key in VSCodeVim to be specific), and when I do it seems that I have to confirm the switch with Enter whenever I use it.

Gama11
  • 31,714
  • 9
  • 78
  • 100

1 Answers1

1

I could bind it this way:

"vim.normalModeKeyBindingsNonRecursive": [
    // Switch recently used editor.
    {
        "before": ["<leader>", ","],
        "commands": ["workbench.action.openNextRecentlyUsedEditorInGroup", "list.select"]
    }
]

Hope it helps.

Juan S.
  • 11
  • 1