Add helm ag
This commit is contained in:
parent
e6dfc23e89
commit
5b1c59be02
|
@ -3,6 +3,7 @@
|
||||||
auctex
|
auctex
|
||||||
cdlatex
|
cdlatex
|
||||||
smooth-scrolling
|
smooth-scrolling
|
||||||
|
helm-ag
|
||||||
))
|
))
|
||||||
|
|
||||||
(defun trishume/init-auctex ()
|
(defun trishume/init-auctex ()
|
||||||
|
@ -21,3 +22,17 @@
|
||||||
(setq scroll-margin 5
|
(setq scroll-margin 5
|
||||||
scroll-conservatively 9999
|
scroll-conservatively 9999
|
||||||
scroll-step 1)))
|
scroll-step 1)))
|
||||||
|
|
||||||
|
(defun trishume/init-helm-ag ()
|
||||||
|
(use-package helm-ag
|
||||||
|
:init
|
||||||
|
(progn
|
||||||
|
(defun trishume-helm-ag ()
|
||||||
|
(interactive)
|
||||||
|
(helm-ag (projectile-project-root)))
|
||||||
|
(evil-leader/set-key
|
||||||
|
"pa" 'trishume-helm-ag))
|
||||||
|
:config
|
||||||
|
(progn
|
||||||
|
;; (setq helm-ag-command-option "--all-text")
|
||||||
|
(setq helm-ag-insert-at-point 'symbol))))
|
||||||
|
|
Loading…
Reference in a new issue