1 2 3 4 5 6 7
#defcomp bindkey if [[ -mword 1 -*[DAN]* || -mcurrent -1 -*M ]]; then complist -s '$(bindkey -l)' else complist -b fi