[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] how can I bind a key to do two things in sequence?
From: |
Martin Samuelsson |
Subject: |
Re: [RP] how can I bind a key to do two things in sequence? |
Date: |
Tue, 17 Jan 2006 09:08:55 +0100 |
User-agent: |
mutt-ng/devel-r655 (Debian) |
Miernik @ 2006-01-17 (Tuesday), 04:52 (+0100)
> I would like to bind F3 in ratpoison to do both of these things
> sequentially:
>
> Switch to window number 0 ("select 0") and then send "F3" to that
> window (like if I would have pressed F3 in that window manually).
> How to do this?
This is covered somewhat at the wiki, I'd recommend browsing through
that site if you haven't already. There is some interesting stuff there.
http://ratpoison.elektrubadur.se/MultipleCommandsInARow
definekey top F2 exec $RATPOISON --command "select 0" --command "meta F2"
--
/Martin