   (setq mac-right-option-modifier 'meta
         mac-right-command-modifier 'control
         mac-command-modifier 'control
-        mac-control-modifier 'super)
-  ;; prevent accidental press
-  (global-unset-key (kbd "s-g")))
+        mac-control-modifier 'super))
 
 ;; point dired to correct ls binary on macOS
 (when (eq system-type 'darwin)

    which-key-idle-secondary-delay 0.05)
  (which-key-mode)
  ;; prefer right side, then bottom for popup
  (which-key-setup-side-window-right-bottom))

;; file explorer window
(use-package treemacs

(global-set-key (kbd "s-5") ctl-x-5-map)
(global-set-key (kbd "s-0") #'delete-window)
(global-set-key (kbd "s-o") #'other-window)
(global-set-key (kbd "s-g") #'keyboard-quit)

;; replaces unnecessary suspend command
(global-set-key (kbd "C-z") #'zap-up-to-char)
