fish: Add \ee edit_command_buffer binding in insert mode
parent
1b485aa133
commit
1193a76114
|
@ -2,14 +2,18 @@ function fish_user_key_bindings
|
||||||
fish_vi_key_bindings
|
fish_vi_key_bindings
|
||||||
set fish_escape_delay_ms 10
|
set fish_escape_delay_ms 10
|
||||||
|
|
||||||
|
## Useful for rsync when folders are completed with fzf.
|
||||||
|
bind \cw trim_trailing_slashes
|
||||||
|
|
||||||
|
## As of fish 2.5, Alt-f binding is missing in vi-mode.
|
||||||
|
bind -M insert \ef forward-word
|
||||||
|
|
||||||
|
bind -M insert \ee edit_command_buffer
|
||||||
|
|
||||||
## fzf
|
## fzf
|
||||||
if type -pq fzf
|
if type -pq fzf
|
||||||
source $fish_config_path/fzf.fish
|
source $fish_config_path/fzf.fish
|
||||||
end
|
end
|
||||||
|
|
||||||
# bind \el downcase-word # For Emacs bindings only.
|
# bind \el downcase-word # For Emacs bindings only, load after fzf.
|
||||||
bind \cw trim_trailing_slashes
|
|
||||||
|
|
||||||
## As of fish 2.5, Alt-f binding is missing in vi-mode.
|
|
||||||
bind -M insert \ef forward-word
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue