summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-mac.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-10-23 17:21:47 +0100
committerjao <jao@gnu.org>2026-10-23 17:21:47 +0100
commitf540391ddb5bf366e32f8e22ae707bd897f2c2b9 (patch)
tree9b818e6813d821e5a6751db74e3877cbe4e2f352 /custom/jao-custom-mac.el
parentbdc9c7e85169b6c53ddce6314e3f3230c6c8394d (diff)
downloadelibs-f540391ddb5bf366e32f8e22ae707bd897f2c2b9.tar.gz
elibs-f540391ddb5bf366e32f8e22ae707bd897f2c2b9.tar.bz2
mac tweaks
Diffstat (limited to 'custom/jao-custom-mac.el')
-rw-r--r--custom/jao-custom-mac.el7
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++")