diff options
Diffstat (limited to 'custom/jao-custom-mac.el')
| -rw-r--r-- | custom/jao-custom-mac.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/custom/jao-custom-mac.el b/custom/jao-custom-mac.el index 94879c6..ae7138e 100644 --- a/custom/jao-custom-mac.el +++ b/custom/jao-custom-mac.el @@ -1,5 +1,9 @@ ;;; jao-custom-mac.el --- Setup for mac env -*- lexical-binding: t; -*- +(setq mac-command-modifier 'meta) + +(global-set-key (kbd "£") (lambda () (interactive) (insert "#"))) + (setenv "HOMEBREW_PREFIX" "/opt/homebrew") (setenv "HOMEBREW_CELLAR" "/opt/hombrew/Cellar") (setenv "HOMEBREW_REPOSITORY" "/opt/homebrew") @@ -19,7 +23,8 @@ "/Library/TeX/texbin")) (jao-exec-path p)) -(add-to-list 'Info-directory-list "/opt/homebrew/share/info") +(with-eval-after-load "info" + (add-to-list 'Info-directory-list "/opt/homebrew/share/info")) (setenv "CC" "clang") (setenv "CXX" "clang++") |
