 (global-set-key (kbd "C-c *") 'isearch-word-at-point)
 
 ;; better grep
-(use-package phi-grep)
-(setq phi-grep-window-height 40)
-(setq phi-grep-make-backup-function nil)
+(use-package phi-grep
+  :ensure t
+  :config
+  (setq phi-grep-window-height 40)
+  (setq phi-grep-make-backup-function nil))
 
 (provide 'setup-search)

(global-set-key (kbd "M-g g")   'ace-jump-mode)
(global-set-key (kbd "M-g l")   'ace-jump-line-mode)

(use-package phi-search)

(use-package visual-regexp)
(use-package visual-regexp-steroids)

(global-set-key (kbd "M-Y") 'yank-pop-reverse)

;; goto and hint-style navigation
(use-package ace-jump-mode
  :ensure t)
(use-package ace-jump-buffer
  :ensure t)
(setq ace-jump-mode-scope 'window)
(global-set-key (kbd "M-g M-g") 'goto-line)
(global-set-key (kbd "M-g b")   'ace-jump-buffer)
