Asterisk
uses the editline
library, and the keybindings can be configured in /etc/editrc
.
I have defined some of my own keybindins, some other are left to default values.
How can I print the current keybindings in Asterisk? I am looking for something similar to what bindkey
does in zsh
.
Also, how can I "unbind" a key, such as Ctrl+C ?
And How would I create new keybinding that would bind Ctrl+D to exit/quit ?
here is my current /etc/editrc
:
bind "^W" ed-delete-prev-word
bind "\e[1;5D" vi-prev-word
bind "\e[1;5C" vi-next-word
bind ^[[5~ ed-search-next-history
bind ^[[6~ ed-search-prev-history
Asked by Martin Vegter
(586 rep)
Oct 25, 2019, 10:54 AM
Last activity: May 31, 2020, 05:11 PM
Last activity: May 31, 2020, 05:11 PM