Added meta key handling for macos
This commit is contained in:
@ -18,9 +18,13 @@
|
||||
|
||||
(cond
|
||||
((eq system-type 'darwin)
|
||||
(set-face-attribute 'default nil :font "Fira Code" :height 165))
|
||||
;; macOS-specific settings
|
||||
(set-face-attribute 'default nil :font "Fira Code" :height 165)
|
||||
(setq ns-alternate-modifier 'alt
|
||||
ns-command-modifier 'meta
|
||||
ns-function-modifier 'hyper
|
||||
ns-right-alternate-modifier nil)) ;; Act as AltGR, for "|"
|
||||
((eq system-type 'gnu/linux)
|
||||
|
||||
(set-face-attribute 'default nil :font "JetBrains Mono" :height 130)))
|
||||
|
||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||
|
||||
Reference in New Issue
Block a user