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
9e6c7c140b
commit
fcd65dc34a
|
@ -72,6 +72,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