-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Feature Request] History syntax highlighting #3836
Comments
For now i built fzf myself with a modification in key-bindings.zsh like this : if [[ "${FZF_CTRL_R_COMMAND-x}" != "" ]]; then
zle -N fzf-history-widget
bindkey -M emacs '^R' fzf-history-widget
bindkey -M vicmd '^R' fzf-history-widget
bindkey -M viins '^R' fzf-history-widget
fi and sourcing fzf like this in my zshrc FZF_CTRL_R_COMMAND= source <(fzf --zsh) |
I'm not sure. We would have to use Related: sharkdp/bat#2974
Maybe you can load |
Yes, it works. But I don't find it very convenient. Is there a specific reason that |
Thanks for the confirmation, so we do have a workaround.
Mainly because no one has asked for it. Opting out of the other keys was a recent addition (see #3678); we didn't include CTRL-R in the patch because there is no |
Checklist
man fzf
)Output of
fzf --version
0.52.1 (6432f00)
OS
Shell
Problem / Steps to reproduce
I just started to use fzf and i love it. But i've got one problem about the history backsearch with key bidings.
I was using https://github.com/zdharma-continuum/history-search-multi-word to have a similar features of fuzzy search with Ctrl-R and it has syntax highlighting wich make it visualy more attractive.
So i was wondering if it would be possible to get syntax highlighting like zdharma-continuum/history-search-multi-word for history backsearch with fzf ?
Or add an option to disable only the Ctrl-R key biding so i'm able to use fzf with Ctrl-T and Alt-C and zdharma-continuum/history-search-multi-word with Ctrl-R
The text was updated successfully, but these errors were encountered: