diff --git a/core/core-os-osx.el b/core/core-os-osx.el index 21295e3ef..9e943e155 100644 --- a/core/core-os-osx.el +++ b/core/core-os-osx.el @@ -2,10 +2,7 @@ (global-set-key (kbd "M-q") 'kill-emacs) -;; Use a shared clipboard -(setq x-select-enable-clipboard t - select-enable-clipboard t - ;; Prefixes: Command = M, Alt = A +(setq ;; Prefixes: Command = M, Alt = A mac-command-modifier 'meta mac-option-modifier 'alt ;; sane trackpad/mouse scroll settings diff --git a/core/core-os.el b/core/core-os.el index 95056e866..1f217702a 100644 --- a/core/core-os.el +++ b/core/core-os.el @@ -4,6 +4,10 @@ (defconst IS-LINUX (eq system-type 'gnu/linux)) (defconst IS-WINDOWS (eq system-type 'windows-nt)) +;; Use a shared clipboard +(setq x-select-enable-clipboard t + select-enable-clipboard t) + ;; Stubs, these should be defined in all OS modules (noop! doom-open-with (&optional app-name path)) (noop! os-switch-to-term)