bash: want CTRL+c to cancel and discard current

line when in ble.sh vim insert mode
This commit is contained in:
teutat3s 2023-04-15 12:44:45 +02:00
parent 9e6c7c140b
commit fcd65dc34a
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -72,6 +72,8 @@ in {
ble-bind -m vi_nmap -f 'j' 'vi-command/backward-char'
ble-bind -m vi_nmap -f 'k' 'vi-command/forward-line'
ble-bind -m vi_nmap -f 'l' 'vi-command/forward-char'
ble-bind -m vi_imap -f 'C-c' discard-line
fi
# end of .bashrc