Created
May 5, 2022 03:11
-
-
Save ZacJoffe/2f0d7864437fcdc49a6bc1f4fa5db9d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; mac specific titlebar stuff (remove weird icon in titlebar) | |
;; https://emacs.stackexchange.com/a/40777 | |
(if (eq system-type 'darwin) | |
(progn | |
(add-to-list 'default-frame-alist '(ns-transparent-titlebar . t)) | |
(add-to-list 'default-frame-alist '(ns-appearance . dark)) | |
(add-to-list 'default-frame-alist '(fullscreen . maximized)) ;; start maximized | |
(setq ns-use-proxy-icon nil) | |
(setq frame-title-format nil))) | |
;; swap meta and super keys to be more like windows | |
(setq mac-option-modifier 'super) | |
(setq mac-command-modifier 'meta) | |
;; fix path related issues to allow emacs to easily access tools like rg | |
(when (memq window-system '(mac ns x)) | |
(use-package exec-path-from-shell | |
:config | |
(exec-path-from-shell-initialize))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment