summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 1278c556..1092e9bd 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -466,6 +466,14 @@ Values: `desktop', `server', `laptop'")
 
 ;;;; Keybindings
 
+(when (eq system-type 'darwin)
+  (set-keyboard-coding-system nil)
+  (setq mac-option-modifier 'meta
+        mac-control-modifier 'command
+        mac-right-control-modifier 'command
+        mac-command-modifier 'control
+        mac-right-command-modifier 'control))
+
 (unbind-key "<f4>")
 (bind-key "<f5>" #'compile)
 (bind-key "<f6>" #'kmacro-start-macro-or-insert-counter)