.sawfish/rc

This commit is contained in:
Tom Willemsen 2012-06-20 10:30:37 +02:00
parent 8e45da4df0
commit 3340bc67ae

View file

@ -4,6 +4,7 @@
(define oni:window-packing-keymap (make-keymap)) (define oni:window-packing-keymap (make-keymap))
(define oni:window-growing-keymap (make-keymap)) (define oni:window-growing-keymap (make-keymap))
(define oni:window-shrinking-keymap (make-keymap)) (define oni:window-shrinking-keymap (make-keymap))
(define oni:window-yanking-keymap (make-keymap))
(setq user-apps-menu (setq user-apps-menu
'(("Emacs" (system "emacsclient -c &")) '(("Emacs" (system "emacsclient -c &"))
@ -27,11 +28,18 @@
"b" 'shrink-window-left "b" 'shrink-window-left
"f" 'shrink-window-right) "f" 'shrink-window-right)
(bind-keys oni:window-yanking-keymap
"p" 'yank-window-up
"n" 'yank-window-down
"b" 'yank-window-left
"f" 'yank-window-right)
(bind-keys oni:window-management-keymap (bind-keys oni:window-management-keymap
"M" 'maximize-window "M" 'maximize-window
"p" oni:window-packing-keymap "p" oni:window-packing-keymap
"g" oni:window-growing-keymap "g" oni:window-growing-keymap
"s" oni:window-shrinking-keymap) "s" oni:window-shrinking-keymap
"y" oni:window-yanking-keymap)
(bind-keys oni:extended-keymap (bind-keys oni:extended-keymap
"w" oni:window-management-keymap) "w" oni:window-management-keymap)