tom-doerr / codex.fish

Supercharge your command line with OpenAI Codex integration. Get AI-powered coding assistance right in your fish shell.
MIT License
75 stars 4 forks source link

Does not work when vi keybindings are on. #1

Open mbledkowski opened 1 year ago

mbledkowski commented 1 year ago

Auto completion from this plugin does not work when fish_key_bindings variable is set to fish_vi_key_bindings

dionyziz commented 4 months ago

Try creating the file ~/.config/fish/conf.d/fish_user_keybindings.fish with the following contents:

bind --erase -M insert --preset \cx
bind --erase -M visual --preset \cx
bind --erase --preset \cx
bind -M insert \cx create_completion
bind -M visual \cx create_completion