   :hook (counsel-tramp-post-command . me:counsel-tramp-post-command)
   :config
   (defun me:counsel-tramp-pre-command ()
-    (global-aggressive-indent-mode 0)
-    (projectile-mode 0))
+    (global-aggressive-indent-mode 0))
   (defun me:counsel-tramp-post-command ()
-    (global-aggressive-indent-mode 1)
-    (projectile-mode 1))
+    (global-aggressive-indent-mode 1))
   :general
   ("<f4> f"  #'counsel-tramp))
 

        magit-section-initial-visibility-alist '(( stashes . hide ))
        magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1
        magit-repository-directories `((,(expand-file-name "dev" "~") . 1)))
  ;; fullscreen magit and restore configuration when done. This and other
  ;; things stolen from:
  ;; https://jakemccrary.com/blog/2020/11/14/speeding-up-magit/
  (defadvice magit-status (around magit-fullscreen activate)
    (window-configuration-to-register :magit-fullscreen)
    ad-do-it
    (delete-other-windows))
  (defadvice magit-quit-window (after magit-restore-screen activate)
    (jump-to-register :magit-fullscreen))
  :general
  ("<f9> a"     #'magit-commit-amend)
  ("<f9> b"     #'magit-blame)

(use-package ws-butler
  :hook (( prog-mode text-mode c-mode-common) . ws-butler-mode ))

(use-package which-key
  :hook (me:after-load-theme . me:which-key-after-theme-change)
  :custom
