2 ms·
This claims to do Bash integration, but instead it seems to do Vim integration (I don't use Vim, but I do use Bash). Can anyone fill me in?
by pmarreck 4y ago
This claims to do Bash integration, but instead it seems to do Vim integration (I don't use Vim, but I do use Bash). Can anyone fill me in?
- serialBandito11 4y agoSince copilot support has only been implemented for a few editors (vscode, nvim, ...), the OP works around it by starting a bash shell inside the nvim editor. Once you get to "vimshell %", you could just run bash and disable the vim keybindings. A less hacked together solution would probably be running nvim in the background, feeding it the content from the current terminal session, intercepting the copilot suggestions, and then returning them as terminal suggestions (I'd use `tmux send-keys` and `tmux read-pane` with some regex to get the copilot results). Even less hacked together would be to implement a bash plugin to send out the necessary copilot API requests.