branch: master commit d7561d29433128eefd17b86403948f21014b60d7 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
counsel.el: Reduce counsel-grep char req to 2 --- counsel.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/counsel.el b/counsel.el index f6565c8..f2607a4 100644 --- a/counsel.el +++ b/counsel.el @@ -1351,8 +1351,8 @@ This uses `counsel-ag' with `counsel-pt-base-command' replacing ;;** `counsel-grep' (defun counsel-grep-function (string) "Grep in the current directory for STRING." - (if (< (length string) 3) - (counsel-more-chars 3) + (if (< (length string) 2) + (counsel-more-chars 2) (let ((regex (counsel-unquote-regex-parens (setq ivy--old-re (ivy--regex string)))))