diff options
author | sabetts <sabetts> | 2003-04-05 04:02:17 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-04-05 04:02:17 +0000 |
commit | cee9fe0516fbc0946d568d7761d771cf204eb3b9 (patch) | |
tree | 6c4097be495447ae0b07ce973dc27ef054ce104f | |
parent | 88575670e7968c1c3863ea3b51dc7d4d7fc316f7 (diff) | |
download | ratpoison-cee9fe0516fbc0946d568d7761d771cf204eb3b9.zip |
update to sample rc file
-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'`" |