>I was demo'ing Stump to a coworker this afternoon and in order to cycle >through windows it was constantly PREFIX n, PREFIX n, PREFIX n. Normally >not a big deal, but with 6-7 windows and without having set binds for half >of them it gets a bit annoying; he picked it up and commented on it. > >So, here's my idea: Have a binding like PREFIX C-l that locks the PREFIX >key on. Each time a keychord completes, it'd revert to having just PREFIX >entered. > >For example: > >PREFIX C-l >n >n >n >ESC > >instead of the former. I have a couple of questions about this. > >1) is this a good idea? Any major pitfalls that I'm not seeing? >2) if it's a reasonable idea, is there already a built-in way to do this? >3) if it doesn't already exist, what's a good way to go about it? > >Ideally I'd like to be able to do it on submaps as well (eg s-w s-m is my >prefix for MPD control).
Look for command-mode definition and try to create an analogous command fr your specific use case. I must admit that I am not sure how precisely to use command-mode, but it looks like pushing the binding maps should allow your functionality easily enough. _______________________________________________ Stumpwm-devel mailing list Stumpwm-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/stumpwm-devel