ambevar-dotfiles/.config/fish/functions/fish_user_key_bindings.fish

22 lines
459 B
Fish
Raw Normal View History

2016-10-13 11:09:04 +02:00
function fish_user_key_bindings
2017-05-08 20:47:07 +02:00
fish_vi_key_bindings
set fish_escape_delay_ms 10
## Useful for rsync when folders are completed with fzf.
bind \cw trim_trailing_slashes
bind \e\x7f backward-kill-word
bind -M insert \e\x7f backward-kill-word
bind -M insert \ce edit_command_buffer
bind -m insert \ce edit_command_buffer
2017-06-07 19:26:17 +02:00
bind \cv fish_primary_paste
bind \cx fish_primary_copy
2016-10-13 11:09:04 +02:00
## fzf
if type -pq fzf
source $fish_config_path/fzf.fish
end
end