 
 (require 'dumb-jump)
 (setq dumb-jump-selector 'ivy
-      dumb-jump-prefer-searcher (if *windows* 'ag 'rg))
+      dumb-jump-prefer-searcher 'rg)
 ;; because https://github.com/jacktasia/dumb-jump/issues/129
 
 (require 'js2-mode)

(require 'counsel-projectile)
(counsel-projectile-mode)
(setq counsel-projectile-ag-initial-input '(projectile-symbol-or-selection-at-point))
(bind-key "M-g" (if *windows* 'counsel-projectile-ag 'counsel-projectile-rg))
(bind-key "C-x C-p" 'counsel-projectile)

(require 'helpful)


(bind-key "M-G" '(lambda ()
                   (interactive)
                   (counsel-rg nil default-directory)))

(require 'projectile)
(setq projectile-enable-caching t)
