From: Amin Bandali Date: Sat, 7 Sep 2019 03:19:59 +0000 (-0400) Subject: emacs: exwm: add bindings for switching, swapping, resizing windows X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/d7b88f06c1a9623caf5d01774c4f2b12e460fe58?ds=inline;pf=~bandali emacs: exwm: add bindings for switching, swapping, resizing windows --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 37b2ecd..93dd563 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -618,6 +618,18 @@ around if needed." (interactive) (start-process-shell-command "rofi-pass" nil "rofi-pass"))) + ([?\s-h] . windmove-left) + ([?\s-j] . windmove-down) + ([?\s-k] . windmove-up) + ([?\s-l] . windmove-right) + ([?\s-H] . windmove-swap-states-left) + ([?\s-J] . windmove-swap-states-down) + ([?\s-K] . windmove-swap-states-up) + ([?\s-L] . windmove-swap-states-right) + ([?\M-\s-h] . shrink-window-horizontally) + ([?\M-\s-l] . enlarge-window-horizontally) + ([?\M-\s-k] . shrink-window) + ([?\M-\s-j] . enlarge-window) ([?\s-\[] . (lambda () (interactive) (exwm-workspace-switch-create