0

I am using VSCode integrated terminal together with zsh and zsh-autosuggestions. Everything is working as expected except for autosuggest-execute command.

I am looking for a way to send '^[auto' sequence to VSCode terminal, none of my attempts according to vscode docs worked so far.

In Iterm2, I am successfully able to send sequence like this:

enter image description here

ZSH config

# .zshrc
bindkey '^[auto' autosuggest-execute

Unsuccessful attempts

  {
    "key": "cmd+e",
    "command": "workbench.action.terminal.sendSequence",
    "args": {
      "text": "\u001b^[auto"
    }
  }

Note: Works fine out of the box on Ubuntu 20.04, but not on MacOS Catalina (10.15.7 (19H15))

MartinT
  • 590
  • 5
  • 21

1 Answers1

0

Found a solution at last

{
  "key": "cmd+e",
  "command": "workbench.action.terminal.sendSequence",
  "args": {
    "text": "\u001bauto"
  }
}
MartinT
  • 590
  • 5
  • 21