From d9c1fb5d5122f06098397ffc45fa0017b09a8324 Mon Sep 17 00:00:00 2001 From: BrewingWeasel Date: Fri, 31 Mar 2023 22:40:34 -0700 Subject: [PATCH] fix E not moving cursor at end of word in VI mode --- share/functions/fish_vi_key_bindings.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/fish_vi_key_bindings.fish b/share/functions/fish_vi_key_bindings.fish index 9fc512238..2e2605e9b 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -102,7 +102,7 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish' bind -s --preset w forward-word forward-single-char bind -s --preset W forward-bigword forward-single-char bind -s --preset e forward-single-char forward-word backward-char - bind -s --preset E forward-bigword backward-char + bind -s --preset E forward-single-char forward-bigword backward-char # Vi/Vim doesn't support these keys in insert mode but that seems silly so we do so anyway. bind -s --preset -M insert -k home beginning-of-line