forked from pub-solar/os
bash: want CTRL+c to cancel and discard current
line when in ble.sh vim insert mode
This commit is contained in:
parent
cf59251f06
commit
6547aa92cf
|
@ -74,6 +74,8 @@ in {
|
||||||
ble-bind -m vi_nmap -f 'j' 'vi-command/backward-char'
|
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 'k' 'vi-command/forward-line'
|
||||||
ble-bind -m vi_nmap -f 'l' 'vi-command/forward-char'
|
ble-bind -m vi_nmap -f 'l' 'vi-command/forward-char'
|
||||||
|
|
||||||
|
ble-bind -m vi_imap -f 'C-c' discard-line
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# end of .bashrc
|
# end of .bashrc
|
||||||
|
|
Loading…
Reference in a new issue