Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bindkey and widgets
Hi Raúl ;),
> No. If you want to use 'Ctrl+RePag' combo you must edit your
> /etc/keymap and modify the lines that bind that combo to the
> scrollback facility under Linux. You should bind them to a string:
Thanks ;), it works nicely. I should have think at first that i didn't
have that key combination in my keymap... instead of trying to make zsh
to map an unknow key sequence :-/
> See Bart's message for that. Is a very good explanation :) IMHO
> the easiest one if you don't want to create new widgets is the one I
> told you yesterday: bind some strange key combo to each widget and
I understood you wrong O:), i thought that what you explained me about
bindkey -s was to invocate zle directly. But i've find out diggin in
then manuals that zle widgets only can be called from inside a shell
function...
> Nonetheless, if you plan to make something more complicated in
> the future regarding kill-line (e.g. adding more widgets to run after
> kill-line, making the killing depending on the contents of the
> $BUFFER, etc.) I encourage you to create a new widget.
Right now i just want to run two widgets, but i feel confident
enough to do a widget if in a near future i have some 'dark' ideas XDDDDDD
cheers,
--
David Gómez
"The question of whether computers can think is just like the question of
whether submarines can swim." -- Edsger W. Dijkstra
Messages sorted by:
Reverse Date,
Date,
Thread,
Author