It seems I'm not the only
Rubyist who likes the wmii window manager, so
I decided to release my wmiirc configuration in Ruby formally.
It's cleaner than the original one, and I've added
lots of good stuff: view/tag namespaces, new view switching mechanisms, new
actions, improved handling of numeric tags (a superset of
_why's bindings,
can be used with and without numerical tags), better retagging, etc.
And then there's this funny thing nobody would want to implement in shell
script :)...
Working set inference using a biased Markov model with exponential decay
I normally have around a dozen open views/tags at a time, so even switching
to the Nth one with ALT+N becomes relatively difficult: counting past the 5th
view or so requires some thinking. A possible solution
can be found on wmii's wiki: a
key binding that jumps to the first view starting with the pressed letter.
But that won't work very well unless you name your views carefully.
Fortunately, the transitions between views aren't random: they're often
predictable, since I tend to stay within a given working set. I came up with
a way to discover it automagically.