commit a48063f667146c2768ab119d00cfa60bf4ef70c1 parent ce87d7248f109a8ac93d4e7cb9a5f6456a90a8a8 Author: Vincent Demeester <vincent@sbr.pm> Date: Thu, 5 May 2022 20:38:00 +0200 tools/emacs: bind resize function Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | tools/emacs/config/config-windows.el | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/tools/emacs/config/config-windows.el b/tools/emacs/config/config-windows.el @@ -43,6 +43,16 @@ ("C-s-<left>" . windmove-left))) ;; -UseWindmove +;; UseWindow +(use-package window + :unless noninteractive + :commands (shrink-window-horizontally shrink-window enlarge-window-horizontally enlarge-window) + :bind (("S-C-<left>" . shrink-window-horizontally) + ("S-C-<right>" . enlarge-window-horizontally) + ("S-C-<down>" . shrink-window) + ("S-C-<up>" . enlarge-window))) +;; -UseWindow + (use-package zoom-window :commands (zoom-window-zoom) :bind (("C-x C-z" . zoom-window-zoom))