diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-02-11 01:27:47 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-02-11 01:27:47 -0500 |
commit | 51e233da65c5a1a9ed8676b9e8bf8d7a347ee458 (patch) | |
tree | bb113c84fecc51c64e3efeea98c8f04caf9875a6 | |
parent | 62814bfe1fcf1c4cdbef9fd378561120edd42605 (diff) | |
download | emacs.d-51e233da65c5a1a9ed8676b9e8bf8d7a347ee458.tar.gz |
Add keymap for window-related bindings
-rw-r--r-- | lisp/init-framewin.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/init-framewin.el b/lisp/init-framewin.el index a25e23f..5d531b2 100644 --- a/lisp/init-framewin.el +++ b/lisp/init-framewin.el @@ -32,7 +32,11 @@ Assumes that the window is only split into two." (split-window-vertically)) (switch-to-buffer nil))) -(global-set-key (kbd "C-c s") 'km/swap-windows) +(define-prefix-command 'window-map) +(global-set-key (kbd "C-c w") 'window-map) + +(define-key window-map "s" 'km/swap-windows) +(define-key window-map "l" 'km/switch-window-split) (defadvice clone-indirect-buffer-other-window (after clone-indirect-and-widen activate) |