[adv_windowlist.pl] Match against /go argument when determining $Q#783
[adv_windowlist.pl] Match against /go argument when determining $Q#783madduck wants to merge 1 commit intoirssi:masterfrom
Conversation
I've recently started using `go2.pl` (a drop-in replacement to `go.pl`), which provides the handy `/go` command to switch windows. Consequently, I can now do: ``` /bind meta-s-meta-i command go #irssi ``` to switch to the window containing the best match for item `#irssi`. This patch teaches AWL to read the `/bind` output for such keybindings as well, so that `$Q` works accordingly. Signed-off-by: martin f. krafft <[email protected]>
|
ok but why not just bind window goto, which is already supported? |
|
@ailin-nemui honestly, I don't know. When I added |
|
my concern is that /go may be using partial matching or another algorithm than Irssi, thus the displayed key binding could be incorrect |
|
Since I've found out that Instead of hard-coding |
I've recently started using
go2.pl(a drop-in replacement togo.pl),which provides the handy
/gocommand to switch windows. Consequently,I can now do:
to switch to the window containing the best match for item
#irssi.This patch teaches AWL to read the
/bindoutput for such keybindingsas well, so that
$Qworks accordingly.Signed-off-by: martin f. krafft [email protected]