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:
# .zshrc
bindkey '^[auto' autosuggest-execute
{
"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))
Found a solution at last
{
"key": "cmd+e",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u001bauto"
}
}