From 4412c0fa1a3bf92bc9a0eec488565225971706a7 Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sun, 12 May 2024 16:48:58 +0100 Subject: emacs: Configure windmove’s swap keybindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emacs/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs') 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)))) -- cgit v1.2.3-70-g09d2