I wanted to use Ctrl-c
to return to normal vim mode when using zsh
in vi-mode
. I managed to unmap it using:
stty intr ^-
stty intr undef
and then used bindkey '^c' vi-cmd-mode
in my .zshrc
. Everything is working fine but how do I reclaim my Ctrl-c
functionality to a different key binding?
Adding as an answer, for the record:
stty intr ^E
or similar should work. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With