diff options
Diffstat (limited to 'doc/sample.ratpoisonrc')
-rw-r--r-- | doc/sample.ratpoisonrc | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/sample.ratpoisonrc b/doc/sample.ratpoisonrc index 5c21ca3..0fc2d67 100644 --- a/doc/sample.ratpoisonrc +++ b/doc/sample.ratpoisonrc @@ -1,6 +1,6 @@ # This is a sample .ratpoisonrc file # -# $Id: sample.ratpoisonrc,v 1.3 2001/09/06 16:43:48 algernon Exp $ +# $Id: sample.ratpoisonrc,v 1.4 2003/04/05 04:02:17 sabetts Exp $ # Set the prefix key to that of screen's default escape C-a @@ -20,3 +20,17 @@ bind s colon exec xterm -e freshmeat # bind b (`b' for browse) to interactively ask for an URL to open bind b colon exec mozilla http://www. + +# bind M-! to store the current frame layout in slot #1 +bind M-exclam exec ratpoison -c "setenv fs1 `ratpoison -c 'fdump'`" + +#bind M-1 to restore the frame layout in slot #1 +bind M-1 exec ratpoison -c "frestore `ratpoison -c 'getenv fs1'`" + +# Do the same for slot #2 and bind it to M-@ and M-2, respectively. +bind M-at exec ratpoison -c "setenv fs2 `ratpoison -c 'fdump'`" +bind M-2 exec ratpoison -c "frestore `ratpoison -c 'getenv fs2'`" + +# Give ourselves another slot on M-# and M-3, respectively. +bind M-numbersign exec ratpoison -c "setenv fs3 `ratpoison -c 'fdump'`" +bind M-3 exec ratpoison -c "frestore `ratpoison -c 'getenv fs3'`" |