Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a bunch of windows (>80) in irssi. Quite often I quickly want to switch the active window to #channelX, without knowing which window number it has. Cycling through all of them is useless too of course. I'm not sure where to find the answer, named windows?

I messed with autofocus_new_items and window_auto_change but both don't cut it.

share|improve this question

You can use the script windows_switcher from web::irssi::scripts

Download the perl file and put it in ~/.irssi/scripts/autorun/.

This is the short help contained in the file itself:

# Usage:
# * Add the statusbar item:
#   /STATUSBAR window add window_switcher
# * Type /ws followed by a window number or part of a window or channel name.
# * When the right item is at the first place in the statusbar, press enter.
# * For faster usage, do "/BIND ^G multi erase_line;insert_text /ws ",
#    type ctrl-G, and start typing...

In particular you can write /ws followed by a partial channel name to switch to that channel.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.