From 06cd4dc66f2cbb3cfaf3de0f3da3bcac2695498a Mon Sep 17 00:00:00 2001 From: raichoo Date: Thu, 19 Jul 2018 11:27:06 +0200 Subject: [PATCH] vi key bindings: fix `"*y` --- 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 e281e74a1..e4eb1fe78 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -261,7 +261,7 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish' bind $argv visual -m default x kill-selection end-selection force-repaint bind $argv visual -m default X kill-whole-line end-selection force-repaint bind $argv visual -m default y kill-selection yank end-selection force-repaint - bind $argv visual -m default '"*y' "commandline -s | xsel -p" end-selection force-repaint + bind $argv visual -m default '"*y' "commandline -s | xsel -p; commandline -f end-selection force-repaint" bind $argv visual -m default \cc end-selection force-repaint bind $argv visual -m default \e end-selection force-repaint