irssi keybindings for switching between up to 999 windows
Use these keybindings to access up to 999 windows using at most 4 keys:
alt-0 .. alt-9 -> windows 0..9 (standard keybindings)
alt-q 0 .. alt-q 9 -> windows 10..19
alt-w 0 .. alt-w 9 -> windows 20..29
...
alt-p 0 .. alt-p 9 -> windows 90..99
alt-a 0 0 .. alt-a 0 9 -> windows 100..109
alt-a 5 7 -> window 157
alt-s 0 0 -> window 200
alt-l 8 7 -> window 987
So the first key is pressed together with alt, and the rest are entered through direct numbers without alt.
So the q
..p
keys are for two-digit numbers starting with 1..9, and the a
..l
keys are for three-digit numbers starting with 1..9.
Back up your ~/.irssi/config in case you want to go back.
Just copypaste the irssi-999-windows list of commands into irssi and the key bindings will get installed.
The /bind -delete
commands in front gets rid of any existing conflicting bindings.
https://twitter.com/xkr47/status/821306318136950784
The code used to generate this is mostly available further down in this GIST. The /bind -delete
commands up front were created separately.
try ido_switcher instead ;-)