[STUMP] Prefix-Lock

Michael Raskin <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <[email protected]>
>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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.