From a32d5d0041dd1aed36a0696f80059bc914343b92 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 20 Jun 2012 09:29:30 +0200 Subject: [PATCH] .sawfish/rc --- .sawfish/rc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.sawfish/rc b/.sawfish/rc index 0135931..dbbee84 100644 --- a/.sawfish/rc +++ b/.sawfish/rc @@ -1,13 +1,21 @@ ;; -*- mode: sawfish; eval: (git-auto-commit-mode 1); -*- (define oni:extended-keymap (make-keymap)) (define oni:window-management-keymap (make-keymap)) +(define oni:window-packing-keymap (make-keymap)) (setq user-apps-menu '(("Emacs" (system "emacsclient -c &")) ("Terminal" (system "urxvt &")))) +(bind-keys oni:window-packing-keymap + "p" 'pack-window-up + "n" 'pack-window-down + "b" 'pack-window-left + "f" 'pack-window-right) + (bind-keys oni:window-management-keymap - "M" 'maximize-window) + "M" 'maximize-window + "p" oni:window-packing-keymap) (bind-keys oni:extended-keymap "w" oni:window-management-keymap)