mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Also add forward/backward movement in insert mode
This commit is contained in:
parent
32948b8dc6
commit
ed5e585684
1 changed files with 2 additions and 0 deletions
|
@ -187,6 +187,8 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
|
||||||
bind -M insert \cu backward-kill-line
|
bind -M insert \cu backward-kill-line
|
||||||
bind -M insert \cp history-search-backward
|
bind -M insert \cp history-search-backward
|
||||||
bind -M insert \cn history-search-forward
|
bind -M insert \cn history-search-forward
|
||||||
|
bind -M insert \cb backward-word
|
||||||
|
bind -M insert \cf forward-word
|
||||||
|
|
||||||
bind -M insert -m default \cc backward-char force-repaint
|
bind -M insert -m default \cc backward-char force-repaint
|
||||||
bind -M insert -m default \e backward-char force-repaint
|
bind -M insert -m default \e backward-char force-repaint
|
||||||
|
|
Loading…
Reference in a new issue