Update fish_vi_key_bindings.fish

This commit is contained in:
DevAtDawn 2024-12-20 13:50:59 -07:00 committed by GitHub
parent 0fe949b385
commit 401ca13f20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -262,6 +262,12 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
bind -s --preset -M replace_one -m default escape cancel repaint-mode
bind -s --preset -M replace_one -m default ctrl-\[ cancel repaint-mode
#
# increment or decrement numbers with ctrl+x ctrl+a
#
bind -s --preset -M default \ca '__fish_inc_dec_number_under_cursor increase'
bind -s --preset -M default \cx '__fish_inc_dec_number_under_cursor decrease'
#
# Uppercase R, enters replace mode
#