You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to define default handler function for all keybindings which are not defined separately?
For example, a program has a set of keybindings with associated handlers, and also there are other keybindings that are not associated with any functions. When user presses all another keys, program should run default handler which should display something like: 'unknown command -- try "h" for help'
is it possible?
The text was updated successfully, but these errors were encountered:
I hope it's OK if I comment on it.
One possible option, which I'm using is to write your own editor function. It may be as simple as sending the keystroke to the channel:
Hi,
Is there a way to define default handler function for all keybindings which are not defined separately?
For example, a program has a set of keybindings with associated handlers, and also there are other keybindings that are not associated with any functions. When user presses all another keys, program should run default handler which should display something like: 'unknown command -- try "h" for help'
is it possible?
The text was updated successfully, but these errors were encountered: