fish_vi_key_bindings: Implement "d;" and "d," (#7516)

This commit is contained in:
Enrico Maria De Angelis 2020-11-29 20:24:42 +00:00 committed by GitHub
parent f396a43280
commit 2a86099cfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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