summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-03-02 10:27:15 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2024-03-02 10:27:15 +0000
commit313847f97e171acd2a80327488ea48b76e7a49da (patch)
tree03aebc9f74a4efe437bdc85b3f4db06a3f1272f6
parent1ae687ce82bf1fe7bf04363901394b39edb9e9d3 (diff)
emacs: Add bindings to be compatible with Magnet
-rw-r--r--dotfiles-darwin/emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles-darwin/emacs/init.el b/dotfiles-darwin/emacs/init.el
index a34ffe4..c400d54 100644
--- a/dotfiles-darwin/emacs/init.el
+++ b/dotfiles-darwin/emacs/init.el
@@ -20,3 +20,8 @@
;; “Window” Management
(keymap-global-set "C-c l" #'my/resize-frame)
+
+(dolist (k '(("C-s-<left>" . "C-c l i") ("C-s-<right>" . "C-c l o")))
+ (if (keymap-global-lookup (car k))
+ (message "`%s' is already bound, skipping." (car k))
+ (keymap-global-set (car k) (cdr k))))