summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el15
1 files changed, 11 insertions, 4 deletions
diff --git a/emacs/init.el b/emacs/init.el
index d142da47..1b7b4950 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -475,10 +475,12 @@ Values: `desktop', `server', `laptop'")
 (when (eq system-type 'darwin)
   (set-keyboard-coding-system nil)
   (setq mac-option-modifier 'meta
-        mac-control-modifier 'command
+        mac-right-option-modifier 'left
+        mac-control-modifier 'control
         mac-right-control-modifier 'left
-        mac-command-modifier 'control
-        mac-right-command-modifier 'left))
+        mac-command-modifier 'super
+        mac-right-command-modifier 'left
+        mac-function-modifier 'hyper))
 
 (unbind-key "<f4>")
 (bind-key "<f5>" #'compile)
@@ -496,6 +498,10 @@ Values: `desktop', `server', `laptop'")
 
 (bind-key "C-c i" #'ucs-insert)
 
+(unbind-key "s-n")
+
+(bind-key "s-x" (define-prefix-command 'super-x-map))
+
 (set-register ?e `(file . ,*init-file*))
 
 ;; Enable narrowing functions C-x n
@@ -666,7 +672,8 @@ Values: `desktop', `server', `laptop'")
 
 (use-package projectile
   :ensure t
-  :bind (("C-c C-f" . projectile-find-file))
+  :bind (("C-c C-f" . projectile-find-file)
+         ("s-x s-f" . projectile-find-file))
   :commands (projectile-global-mode))
 
 (use-package project-persist