Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make C-R acts as expected(redo) in vi-mode #153

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion conf.d/fzf.fish
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ set --global fzf_search_vars_cmd '__fzf_search_shell_variables (set --show | psu
if not set --query fzf_fish_custom_keybindings
# \cf is Ctrl+f
bind \cf __fzf_search_current_dir
bind \cr __fzf_search_history
bind \cv $fzf_search_vars_cmd
# The following two key binding use Alt as an additional modifier key to avoid conflicts
bind \e\cl __fzf_search_git_log
Expand All @@ -21,6 +20,8 @@ if not set --query fzf_fish_custom_keybindings
bind --mode insert \cv $fzf_search_vars_cmd
bind --mode insert \e\cl __fzf_search_git_log
bind --mode insert \e\cs __fzf_search_git_status
else # only override Ctrl+R when no vi-mode included in keybindings.
bind \cr __fzf_search_history
end
end

Expand Down