-
Notifications
You must be signed in to change notification settings - Fork 2.1k
vi mode: support increment/decrement of numbers #10704
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
Conversation
For what it's worth, I had also gotten my own version implemented by now, just haven't gotten around to upstreaming it: master...d-e-s-o:fish-shell:topic/increment-decrement Haven't looked at the changes at hand to judge which one is nicer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for tackling this. Please add a test if possible to the bind.py tests, in the vi section
rename to __fish_inc_dec_number_under_cursor
added -- to handle negative numbers
Description
use ctrl+x ctrl+a to increase/decrease a number
Fixes issue #8320
TODOs: