ratpoison-devel
[Top][All Lists]
Advanced

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

[RP] new group commands


From: Shawn Betts
Subject: [RP] new group commands
Date: Sun May 25 04:23:02 2003
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

** New commands gnewbg, gselect, groups, gmove, and gmerge
These commands allow further manipulation of window groups.

I'll be writting docs for them...uhm, soon :)

gnewbg - create a new group, but don't switch to it
gnew - create a new group (like gnewbg) both take an optional argument which is 
their name
gselect - go to a group by name or number
groups - display the groups (currently in a column)
gmove - move the current window to another group (the argument is a number of 
name)
gmerge - move all windows in a group to the current group

now you can "drop" a window by creating a drop group and moving the
window into it. then you'll never see it again...sorta. So now all
those annoying web popups that keeps popping up if you destroy them
can be hucked in the "ads" group and never seen again. Then you just
need to write a script to flush the "ads" group every so often so that
cruft doesn't get outta hand.

Another cool thing is to create a "temp" group and binding a key to
move windows into the temp group (say C-t M-A-H-S-g) and a key to
merge the temp group into the current group. That would allow you to
faaaaaaairly easily move a couple windows around.

another command perhaps worth adding is gwindows, which lists the
windows in the a group. Then you *could* if you were really sneaky
write shell scripts to perform an operation on each window in a group
(dunno what that would be, tho). So the "temp" group becomes sort of
like the scratch buffer in emacs: a spot to dump & frob yer junk. Wash
your windows as it were :).

You'll notice that none of them have been bound to keys. I *hope* to
get some more-like-emacs nested keymaps going so *hopefully* all this
group stuff will hang off of C-t g or somethin'.

bind "g '" gselect
bind "g space" gnext
bind "g n" next
bind "g w" groups (or maybe "g g" or something)
bind "g n" gnew
bind "g N" gnewbg
bind "g m" gmerge

Something like that.

Have fun!

Shawn




reply via email to

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