]> code.delx.au - dotemacs/commitdiff
swiper: case insensitive grep
authorJames Bunton <jamesbunton@delx.net.au>
Fri, 26 May 2017 17:45:28 +0000 (03:45 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 26 May 2017 17:45:28 +0000 (03:45 +1000)
lisp/my-swiper.el [moved from lisp/my-completion.el with 89% similarity]

similarity index 89%
rename from lisp/my-completion.el
rename to lisp/my-swiper.el
index 530194774fe6124b2b1eb28dcb0f3ace83709847..7d1948f472b5f52d7c0a04af549e85b2f9c64aa0 100644 (file)
@@ -15,4 +15,6 @@
 (setq counsel-git-cmd "git ls-files --full-name --cached --others --exclude-standard --")
 (setq counsel-git-grep-cmd-default "git --no-pager grep --full-name -n --no-color --untracked -i -e %S")
 
+(setq counsel-grep-base-command "grep -niE '%s' %s")
+
 (ivy-mode 1)