D1038.test1.0.sh (436B)
1 #!/bin/bash 2 3 bind 'set keymap emacs' 4 bind '"A": "from 0.sh"' 5 bind -f D1038.test1.1.inputrc 6 bind '"E": "from 0.sh"' 7 8 if [[ $_ble_attached ]]; then 9 ble-bind -m emacs -m vi_imap -m vi_nmap -P | grep ' -s' 10 ble/debug/print-variables _ble_builtin_bind_keymap 11 else 12 echo '# keymap emacs' 13 bind -m emacs -s 14 echo '# keymap vi-insert' 15 bind -m vi-insert -s 16 echo '# keymap vi-command' 17 bind -m vi-command -s 18 bind -v | grep keymap 19 fi