Add x binding to delete whole line in visual mode

This commit is contained in:
Max Gonzih 2014-01-19 17:04:02 +03:00
parent e7df20f69b
commit 69778efb6b

View file

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