From 69778efb6b35fcdbad35dfed3b5b4a5395aa0ee0 Mon Sep 17 00:00:00 2001 From: Max Gonzih Date: Sun, 19 Jan 2014 17:04:02 +0300 Subject: [PATCH] Add x binding to delete whole line in visual mode --- share/functions/fish_vi_key_bindings.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/functions/fish_vi_key_bindings.fish b/share/functions/fish_vi_key_bindings.fish index b001855d8..d5c443071 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -204,6 +204,7 @@ function fish_vi_key_bindings -d "vi-like key bindings for fish" bind -M visual -m default d kill-selection end-selection force-repaint bind -M visual -m default x kill-selection end-selection force-repaint + bind -M visual -m default X kill-whole-line end-selection force-repaint bind -M visual -m default y kill-selection yank end-selection force-repaint bind -M visual -m default '"*y' "commandline -s | xsel -p" end-selection force-repaint