summaryrefslogtreecommitdiff
path: root/emacs/init.el
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2023-09-09 23:39:02 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2023-09-09 23:39:02 +0100
commit7989673570a5a48ce57f6e3c60d004699f3519c9 (patch)
treec122067c8aeae0149ee94a44e4ed0c7b756ea835 /emacs/init.el
parentd2bb9ce92d4557da0d883da9ea5b8f383d2b1480 (diff)
emacs: Use Super key with windmove
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 43d12ab..26086af 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -109,6 +109,8 @@
(global-set-key (kbd "C-c l") #'my/focus-frame)
(global-set-key (kbd "C-c f") #'toggle-frame-maximized)
+(windmove-default-keybindings 'super)
+
(dolist (fn '(delete-window split-window-horizontally split-window-vertically))
(advice-add fn :after #'(lambda (&rest _args) (balance-windows))))