   :after projectile)
 (use-package rg
   :custom
-  (rg-keymap-prefix "\C-cS")
+  (rg-keymap-prefix "\C-cs")
   :commands rg rg-menu
   :config
   (rg-enable-default-bindings)
-  (rg-enable-menu)
   :bind ("C-c C-s" . rg-menu)
-  :bind-keymap ("C-c S" . rg-global-map))
+  :bind-keymap ("C-c s" . rg-global-map))
 
 
 ;; Enable spelling and flycheck everywhere.

  :diminish
  :after ivy
  :bind (("C-s" . swiper)
         ("C-r" . swiper)
         ("C-c s" . swiper-all)))
(use-package ivy-rich
  :diminish
  :after ivy

    (define-key kmap [M-right] (chri/ignore-error-wrapper 'windmove-right))
    (define-key kmap [M-up] (chri/ignore-error-wrapper 'windmove-up))
    (define-key kmap [M-down] (chri/ignore-error-wrapper 'windmove-down)))
  (add-hook 'elpy-mode-hook (lambda ()
                              (windmove-over elpy-mode-map)
                              (define-key elpy-mode-map (kbd "C-c C-s") `rg-menu)))
  (add-hook 'org-mode-hook (lambda () (windmove-over org-mode-map)))
  (add-hook 'c-mode-hook (lambda ()
                           (define-key c-mode-map (kbd "C-c C-s") `rg-menu)))
