From f540391ddb5bf366e32f8e22ae707bd897f2c2b9 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 23 Oct 2026 17:21:47 +0100 Subject: mac tweaks --- custom/jao-custom-mac.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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++") -- cgit v1.2.3