stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] Prefix-Lock


From: J. David Smith
Subject: Re: [STUMP] Prefix-Lock
Date: Wed, 26 Mar 2014 23:55:46 -0400

Evan: good to know!

Michael: sounds like a good start. will look at that.

On Wed, Mar 26, 2014 at 10:59 PM, Evan <address@hidden> wrote:
Not related to your question, but related to selecting a window is PREFIX "
This brings up windowlist, which allows you to start typing in the title
of the window you want and it will jump the selection to it. Just a neat
function I found before and have really enjoyed. Though it'd be nice to
be able to select a window from any group.

Evan

On Wed, Mar 26, 2014 at 11:52 PM, Michael Raskin <address@hidden> wrote:
>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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]