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

;; git frontend
(use-package magit
  :straight t
  :bind (("C-x M-g" . magit-dispatch)
         ("C-c o g" . magit-status)))

;; automatic formatting of program buffers on save
(use-package format-all

  (setq mac-right-option-modifier 'meta
        mac-right-command-modifier 'control
        mac-command-modifier 'control
        mac-control-modifier 'super))

;; point dired to correct ls binary on macOS
(when (eq system-type 'darwin)
