General cleanup + refactor

This commit is contained in:
Henrik Lissner 2017-04-17 02:20:07 -04:00
parent 5e2c483923
commit 0e7254d312
12 changed files with 30 additions and 24 deletions

View file

@ -18,7 +18,7 @@ DIR specifies the default-directory from which ag is run."
(if regex-p (rxt-quote-pcre str) str))))
+ivy--ag-last-search)))
(setq +ivy--ag-last-search search)
(counsel-ag (if regex-p search (rxt-quote-pcre search))
(counsel-ag (if regex-p search (regexp-quote search))
(or dir (doom-project-root))
(concat "--nocolor --nogroup" (if regex-p " -Q")))))