diff options
author | Amin Bandali <bandali@gnu.org> | 2019-09-06 23:19:59 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-09-06 23:19:59 -0400 |
commit | d7b88f06c1a9623caf5d01774c4f2b12e460fe58 (patch) | |
tree | a62b46d4b44b22a266a8f4b0b067084db6d97121 | |
parent | 7ac2eb50c1f5bb018e2cc7bc6df3806bcf1b2d9e (diff) | |
download | configs-d7b88f06c1a9623caf5d01774c4f2b12e460fe58.tar.gz configs-d7b88f06c1a9623caf5d01774c4f2b12e460fe58.tar.xz configs-d7b88f06c1a9623caf5d01774c4f2b12e460fe58.zip |
emacs: exwm: add bindings for switching, swapping, resizing windows
Diffstat (limited to '')
-rw-r--r-- | .emacs.d/init.el | 12 |
1 files changed, 12 insertions, 0 deletions
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 |