Skip to content

Commit

Permalink
feat(fish_user_key_bindings): remove deleted key bindings by fzf
Browse files Browse the repository at this point in the history
The key bindings for `__fzf_find_and_execute` and `__fzf_cd_with_hidden`
functions were removed from fzf.
  • Loading branch information
ryoppippi committed May 16, 2024
1 parent d92605b commit 7cb0da6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions fish/user_functions/fish_user_key_bindings.fish
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,20 @@ function fish_user_key_bindings
if test "$FZF_LEGACY_KEYBINDINGS" -eq 1
bind \ct __fzf_find_file
bind \cr __fzf_reverse_isearch
bind \cx __fzf_find_and_execute
bind \ec __fzf_cd
bind \eC __fzf_cd_with_hidden
if bind -M insert >/dev/null ^/dev/null
bind -M insert \ct __fzf_find_file
bind -M insert \cr __fzf_reverse_isearch
bind -M insert \cx __fzf_find_and_execute
bind -M insert \ec __fzf_cd
bind -M insert \eC __fzf_cd_with_hidden
end
else
bind \cf __fzf_find_file
bind \cr __fzf_reverse_isearch
bind \ex __fzf_find_and_execute
bind \ed __fzf_cd
bind \eD __fzf_cd_with_hidden
if bind -M insert >/dev/null ^/dev/null
bind -M insert \cf __fzf_find_file
bind -M insert \cr __fzf_reverse_isearch
bind -M insert \ex __fzf_find_and_execute
bind -M insert \ed __fzf_cd
bind -M insert \eD __fzf_cd_with_hidden
end
end
### fzf ###
Expand Down

0 comments on commit 7cb0da6

Please sign in to comment.