From be0d9d093c199d6b6f17dfe60c7b7451e8c26742 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 28 Oct 2015 13:20:23 +0100 Subject: [PATCH] vi-mode: Make \cb do backward-word again This is mentioned in the documentation, so keep it for now. --- share/functions/fish_vi_key_bindings.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/functions/fish_vi_key_bindings.fish b/share/functions/fish_vi_key_bindings.fish index 55375cdec..e1dd7805f 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -164,7 +164,9 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish' ### Overrides # This is complete in vim bind -M insert \cx end-of-line + bind -M insert \cf forward-word + bind -M insert \cb backward-word bind '"*p' "commandline -i ( xsel -p; echo )[1]" bind '"*P' backward-char "commandline -i ( xsel -p; echo )[1]"