   (:prefix "<f7>" "s"  '(:ignore t :which-key "Search→" ))
   (:prefix "<SPC>" :states '(normal visual emacs)
            "m"    #'projectile-compile-project)
+  (:prefix "<f7> s" :keymaps 'projectile-mode-map
+           "a" #'me:counsel-ag-project
+           "r" nil  ;; unbind projectile-ripgrep
+           "s" #'me:counsel-rg-project)
   :init
   (setq projectile-completion-system 'ivy
         projectile-globally-ignored-files #'( "TAGS" "GTAGS" "GRTAGS" "GPATH" )

            "<f5> p" #'peep-dired)
  :config)

;; Use perl-like Regexp for all minibuffer input
(use-package pcre2el
  :defer 1
  :config
  (pcre-mode))

(use-package flyspell
  :general
  ("s-f"        #'flyspell-auto-correct-previous-word)

            "s"  '(:ignore t :which-key "Search→" )
            "u" #'counsel-unicode-char)
  (:keymaps 'global :prefix "<f4> s"
            "a" #'me:counsel-ag-here
            "l" #'counsel-locate
            "g" #'counsel-git-grep
            "s" #'me:counsel-rg-here
            "w" #'swiper
            "W" #'swiper-all)
  ("C-h b"  #'counsel-descbinds)
  ("M-x"    #'counsel-M-x)
  ("M-y"    #'counsel-yank-pop)
