Add x binding to delete selection in visual vi mode

This commit is contained in:
Max Gonzih 2014-01-19 16:50:56 +03:00
parent cd64a777c3
commit e7df20f69b

View file

@ -203,6 +203,7 @@ function fish_vi_key_bindings -d "vi-like key bindings for fish"
bind E forward-word bind E forward-word
bind -M visual -m default d kill-selection end-selection force-repaint 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 y kill-selection yank 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 bind -M visual -m default '"*y' "commandline -s | xsel -p" end-selection force-repaint