projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7ac2eb5
)
emacs: exwm: add bindings for switching, swapping, resizing windows
author
Amin Bandali
<bandali@gnu.org>
Sat, 7 Sep 2019 03:19:59 +0000
(23:19 -0400)
committer
Amin Bandali
<bandali@gnu.org>
Sat, 7 Sep 2019 03:19:59 +0000
(23:19 -0400)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
37b2ecd
..
93dd563
100644
(file)
--- 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")))
(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
([?\s-\[] . (lambda ()
(interactive)
(exwm-workspace-switch-create