Keybinds for window swapping

This commit is contained in:
2024-09-20 18:42:38 -07:00
parent 035e09accc
commit 8ae628339a

View File

@@ -47,10 +47,12 @@
("C-o s" . windmove-down)
("C-o a" . windmove-left)
("C-o d" . windmove-right)
;; TODO shift-wasd for moving
("C-o W" . windmove-swap-states-up)
("C-o S" . windmove-swap-states-down)
("C-o A" . windmove-swap-states-left)
("C-o D" . windmove-swap-states-right)
;; TODO C-wasd for resizing
;; TODO C-/ for undo window state change
;; TODO z for zooming
("C-o z" . thoom/zoom-window)
;; TODO other-window scrolling
("C-o n" . next-buffer)
@@ -60,6 +62,10 @@
("a" . windmove-left)
("s" . windmove-down)
("d" . windmove-right)
("W" . windmove-swap-states-up)
("S" . windmove-swap-states-down)
("A" . windmove-swap-states-left)
("D" . windmove-swap-states-right)
:repeat-map next-buffer-repeat-map
("n" . next-buffer)
("p" . previous-buffer)