 
   :general
   (:keymaps 'dired-mode-map
-   "SPC" #'dired-mark
-   "<C-return>" #'user/open-in-external-app
-   "<tab>" #'user/dired-next-window)
+            "SPC" #'dired-mark
+            "<C-return>" #'user/open-in-external-app
+            "<tab>" #'user/dired-next-window)
 
   :custom
   (dired-auto-revert-buffer t)

(use-package rg
  :general
  (:prefix "M-s"
   "d" #'rg-dwim
   "r" #'rg
   "p" #'rg-project
   "l" #'rg-literal)
  :custom
  (rg-ignore-case 'smart)
  (rg-hide-command nil))

(use-package counsel
  :general
  (:prefix "M-s"
           "c" #'counsel-rg
           "g" #'counsel-git-grep
           "s" #'swiper)
  :custom
  (counsel-describe-function-preselect 'ivy-function-called-at-point)
  (counsel-grep-post-action-hook '(recenter))
