From c9577394ebe15f427fd2e80fa829f9ad80e52b61 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 6 Nov 2015 10:25:27 +0100 Subject: vi-mode: Inherit \cf and \cb bindings as well This makes them {forward,backward}-char instead of -word, which means they accept suggestions _fully_. Fixes #2255 --- share/functions/fish_vi_key_bindings.fish | 3 --- 1 file changed, 3 deletions(-) (limited to 'share/functions') diff --git a/share/functions/fish_vi_key_bindings.fish b/share/functions/fish_vi_key_bindings.fish index e1dd7805..53551f0f 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -165,9 +165,6 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish' # 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]" -- cgit v1.2.3