Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

counsel.el: Strip space from initial input of counsel-package #1998

Closed

Conversation

iquiw
Copy link
Contributor

@iquiw iquiw commented Apr 3, 2019

This could reduce key presses in most cases.

Filter packages to ... # of key presses with ^+ (space) # of key presses with ^+ (no space)
install package starting with x 2 1
uninstall package starting with x 4 3
install package containing x 1 2
uninstall package containing x 5 4

For example,

  • If initial input is ^+ (space), it requires Backspace Backspace - x to filter packages to uninstall package starting with x
  • If initial input is ^+ (no space), it requires Backspace - x to filter packages to uninstall package starting with x

I'd like to do this small change before #1987.

This could reduce key presses in most cases.
@abo-abo abo-abo closed this in adad2e4 Apr 3, 2019
@abo-abo
Copy link
Owner

abo-abo commented Apr 3, 2019

Thanks.

@iquiw iquiw deleted the strip-counsel-package-initial-input branch April 3, 2019 15:03
astoff pushed a commit to astoff/swiper that referenced this pull request Jan 1, 2021
This could reduce key presses in most cases.

Fixes abo-abo#1998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants