From 401ca13f20736f3cdfe97a78c6b46177c5c5acde Mon Sep 17 00:00:00 2001 From: DevAtDawn <86164137+DevAtDawn@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:50:59 -0700 Subject: [PATCH] Update fish_vi_key_bindings.fish --- share/functions/fish_vi_key_bindings.fish | 6 ++++++ 1 file changed, 6 insertions(+) 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 #