summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el8
-rw-r--r--.config/emacs/modules/mm-darwin.el8
2 files changed, 8 insertions, 8 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 778fc82..a1d7312 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -165,14 +165,6 @@ buffer suppressed."
(add-hook 'text-mode-hook #'auto-fill-mode)
(prefer-coding-system 'utf-8)
- ;; Proper Mac support
- (when mm-darwin-p
- (setopt
- mac-option-key-is-meta nil
- mac-command-key-is-meta t
- mac-command-modifier 'meta
- mac-option-modifier 'none))
-
;; Disabled modes
(blink-cursor-mode -1)
(line-number-mode -1)
diff --git a/.config/emacs/modules/mm-darwin.el b/.config/emacs/modules/mm-darwin.el
index 79df610..90dbedd 100644
--- a/.config/emacs/modules/mm-darwin.el
+++ b/.config/emacs/modules/mm-darwin.el
@@ -19,4 +19,12 @@
(when (display-graphic-p)
(mm-ns-raise-emacs))
+
+;;; Set Modifier Keys
+
+(setopt mac-option-key-is-meta nil
+ mac-command-key-is-meta t)
+(setopt mac-option-modifier 'none
+ mac-command-modifier 'meta)
+
(provide 'mm-darwin)