[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] newbie: bindings without prefix
From: |
Shawn Betts |
Subject: |
Re: [RP] newbie: bindings without prefix |
Date: |
Thu Mar 27 18:18:17 2003 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
twb <address@hidden> writes:
> Is it possible to bind keys without using *any* prefix? I ideally
> want something like this:
>
> <mod4>-k = delete
> <mod4>-e = exec emacs
> <mod4>-t = other
> ...
>
> (without presssing C-t or something first).
>
> It would also be nice to nest key bindings (like in Ion). I worked
> out a generic, bastardized way to do this:
>
> say you want to do this:
> <mod4>-d
> {
> d colon exec dillo
> s colon exec dillo google.com/search?q=
> l colon exec dillo google.com/linux?q=
> f colon exec dillo freshmeat.net/
> ...
> }
>
> (<mod4>-d d begins dillo in RP's minibuffer, etc.)
>
> 1) make <mod4>-d create each of the bindings inside it.
> 2) each of these bindings it creates unmaps all the created bindings,
> then executes the `real' binding.
>
> I think you'd do this in RP like so
>
> bind H-d exec ratpoison -c "bind d exec ratpoison -c 'unbind d'; ratpoison -c
> 'colon exec dillo'"
>
>
> It would be just as easy to do this with an external keybinder, but I
> can't find any that support nesting `normally'.
>
> any ideas?
Hi!
If you browse the list archives you'll find some solutions to this. I
think what you should look at is keylauncher.
Shawn