mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Merge pull request #5 from Gonzih/bind_mode
Add x and X bindings in visual mode, fix e and E in visual mode.
This commit is contained in:
@@ -199,10 +199,12 @@ function fish_vi_key_bindings -d "vi-like key bindings for fish"
|
||||
bind gE backward-word
|
||||
bind w forward-word
|
||||
bind W forward-word
|
||||
bind e forward-word
|
||||
bind E forward-word
|
||||
bind -M visual e forward-word
|
||||
bind -M visual E forward-word
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user