From 35bbc1d7b797892a5c673ea1eedfaa8887f6efa2 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 14 Oct 2015 18:34:58 +0200 Subject: [PATCH] vi: Make \cf do forward-word again in insert mode --- 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 eb8d0cfa5..4162c61d7 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -161,8 +161,10 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish' bind P backward-char yank bind gp yank-pop + ### Overrides # This is complete in vim bind \cx end-of-line + bind -M insert \cf forward-word bind '"*p' "commandline -i ( xsel -p; echo )[1]" bind '"*P' backward-char "commandline -i ( xsel -p; echo )[1]"