diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2024-05-12 16:48:58 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2024-05-12 16:48:58 +0100 |
| commit | 4412c0fa1a3bf92bc9a0eec488565225971706a7 (patch) | |
| tree | 9c0396fc3cc855581f2c66364fee5c0a93f3aecb | |
| parent | 8f283b24326f5853479ca7b4d3fd507221bc14bb (diff) | |
emacs: Configure windmove’s swap keybindings
| -rw-r--r-- | emacs/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 626d18d..b2047b2 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -112,6 +112,7 @@ (keymap-global-set "C-c f" #'toggle-frame-maximized) (windmove-default-keybindings 'super) +(windmove-swap-states-default-keybindings) (dolist (fn '(delete-window split-window-horizontally split-window-vertically)) (advice-add fn :after #'(lambda (&rest _args) (balance-windows)))) |
