loiccoyle / zsh-github-copilot

🧠 GitHub Copilot for your command line
MIT License
56 stars 5 forks source link

"Ctrl-\" is a terrible suggestion :) #8

Closed timcharper closed 4 months ago

timcharper commented 4 months ago

Ctrl-\ sends SIGQUIT to the current running program. I don't think it's a good idea to recommend users get in the habit of hitting it.

It might be better to recommend:

bindkey '^[|' zsh_gh_copilot_explain  # bind Alt+shift+\ to explain
bindkey '^[\' zsh_gh_copilot_suggest  # bind Alt+\ to suggest
loiccoyle commented 4 months ago

Woops, indeed that isn't great. I'll change it. Thanks!