From 2a86099cfd2675fdabaf120273302d3149a704f3 Mon Sep 17 00:00:00 2001 From: Enrico Maria De Angelis Date: Sun, 29 Nov 2020 20:24:42 +0000 Subject: [PATCH] fish_vi_key_bindings: Implement "d;" and "d," (#7516) --- 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 fb433c2ed..e8ff5734f 100644 --- a/share/functions/fish_vi_key_bindings.fish +++ b/share/functions/fish_vi_key_bindings.fish @@ -166,6 +166,8 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish' bind -s --preset dl delete-char bind -s --preset di backward-jump-till and repeat-jump-reverse and begin-selection repeat-jump kill-selection end-selection bind -s --preset da backward-jump and repeat-jump-reverse and begin-selection repeat-jump kill-selection end-selection + bind -s --preset 'd;' begin-selection repeat-jump kill-selection end-selection + bind -s --preset 'd,' begin-selection repeat-jump-reverse kill-selection end-selection bind -s --preset -m insert s delete-char repaint-mode bind -s --preset -m insert S kill-whole-line repaint-mode