mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
vi: Make \cf do forward-word again in insert mode
This commit is contained in:
parent
4e5e04bfda
commit
35bbc1d7b7
1 changed files with 2 additions and 0 deletions
|
@ -161,8 +161,10 @@ function fish_vi_key_bindings --description 'vi-like key bindings for fish'
|
||||||
bind P backward-char yank
|
bind P backward-char yank
|
||||||
bind gp yank-pop
|
bind gp yank-pop
|
||||||
|
|
||||||
|
### Overrides
|
||||||
# This is complete in vim
|
# This is complete in vim
|
||||||
bind \cx end-of-line
|
bind \cx end-of-line
|
||||||
|
bind -M insert \cf forward-word
|
||||||
|
|
||||||
bind '"*p' "commandline -i ( xsel -p; echo )[1]"
|
bind '"*p' "commandline -i ( xsel -p; echo )[1]"
|
||||||
bind '"*P' backward-char "commandline -i ( xsel -p; echo )[1]"
|
bind '"*P' backward-char "commandline -i ( xsel -p; echo )[1]"
|
||||||
|
|
Loading…
Reference in a new issue