diff --git a/share/functions/fish_vi_key_bindings.fish b/share/functions/fish_vi_key_bindings.fish index 00c279cdf..4738fde85 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -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 #