Commits

Takumi IINO  committed fad65d1

emacs: command key used as meta key on mac

  • Participants
  • Parent commits 8867d17

Comments (0)

Files changed (1)

File .emacs.d/initialize/keybinding.el

 ;; open
 (when (functionp 'cygstart)
   (global-set-key [(control c) (control f)] 'cygstart))
+
+(cond
+ ((string-match "apple-darwin" system-configuration)
+  (setq ns-command-modifier (quote meta))
+  (setq ns-alternate-modifier (quote super))
+  )
+)