On 11/11/19 7:17 PM, Nikolaos Kakouros wrote:
> In my .bashrc, I have:
>
>
> ```
> bind -x '")": bash_function'
> bind 'set blink-matching-paren'
> ```
>
> If I type `)` in bash, nothing happens. Blinking works. If I reverse the
> order of the commands, then blinking stops working and the binding works.
>
> I think I understand the reason behind this; `blink-matching-paren` uses `)`
> to run the blinking function, sth like a hidden default binding.
Yes, setting blink-matching-paren adds several key bindings to the
appropriate keymaps, and unsetting it removes them. That function is
not available by name and is not available for users to bind separately.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/