branch: master
commit adad2e4b7231c448b3db24b2f13cd3e71bd55baa
Author: Iku Iwasa <[email protected]>
Commit: Oleh Krehel <[email protected]>

    counsel.el: Strip space from initial input of counsel-package
    
    This could reduce key presses in most cases.
    
    Fixes #1998
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index e5643cc..8abc5f1 100644
--- a/counsel.el
+++ b/counsel.el
@@ -3537,7 +3537,7 @@ Additional actions:\\<ivy-minibuffer-map>
             :require-match t
             :caller 'counsel-package))
 
-(cl-pushnew '(counsel-package . "^+ ") ivy-initial-inputs-alist :key #'car)
+(cl-pushnew '(counsel-package . "^+") ivy-initial-inputs-alist :key #'car)
 
 (defun counsel-package-action (package)
   "Delete or install PACKAGE."

Reply via email to