mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 15:18:50 +08:00
fix E not moving cursor at end of word in VI mode
This commit is contained in:
parent
d671710656
commit
d9c1fb5d51
|
@ -102,7 +102,7 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
|
|||
bind -s --preset w forward-word forward-single-char
|
||||
bind -s --preset W forward-bigword forward-single-char
|
||||
bind -s --preset e forward-single-char forward-word backward-char
|
||||
bind -s --preset E forward-bigword backward-char
|
||||
bind -s --preset E forward-single-char forward-bigword backward-char
|
||||
|
||||
# Vi/Vim doesn't support these keys in insert mode but that seems silly so we do so anyway.
|
||||
bind -s --preset -M insert -k home beginning-of-line
|
||||
|
|
Loading…
Reference in New Issue
Block a user