   (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)

  (setq projectile-switch-project-action #'projectile-find-file
        projectile-project-search-path '(("~/Projects" . 2)))
  :config
  (define-key projectile-mode-map (kbd "C-c p") projectile-command-map)
  (projectile-mode))

;; integrate with helm actions

    which-key-idle-secondary-delay 0.05)
  (which-key-mode)
  ;; prefer right side, then bottom for popup
  (which-key-setup-side-window-right-bottom)
  :bind ("C-c h k" . #'which-key-show-top-level))

;; file explorer window
(use-package treemacs
