Skip to content

Commit

Permalink
Update fzf and ripgrep prompts with emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
kelleyma49 committed Feb 18, 2024
1 parent e99c500 commit eb94269
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PSFzf.Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,9 @@ function Invoke-PsFzfRipgrep() {
--color "hl:-1:underline,hl+:-1:underline:reverse" `
--disabled --query "$INITIAL_QUERY" `
--bind "change:reload:$sleepCmd $RG_PREFIX {q} || $trueCmd" `
--bind "ctrl-f:unbind(change,ctrl-f)+change-prompt(2. fzf> )+enable-search+clear-query+rebind(ctrl-r)" `
--bind "ctrl-r:unbind(ctrl-r)+change-prompt(1. ripgrep> )+disable-search+reload($RG_PREFIX {q} || $trueCmd)+rebind(change,ctrl-f)" `
--prompt '1. Ripgrep> ' `
--bind "ctrl-f:unbind(change,ctrl-f)+change-prompt( fzf> )+enable-search+clear-query+rebind(ctrl-r)" `
--bind "ctrl-r:unbind(ctrl-r)+change-prompt(🔎 ripgrep> )+disable-search+reload($RG_PREFIX {q} || $trueCmd)+rebind(change,ctrl-f)" `
--prompt '🔎 ripgrep> ' `
--delimiter : `
--header '╱ CTRL-R (Ripgrep mode) ╱ CTRL-F (fzf mode) ╱' `
--preview 'bat --color=always {1} --highlight-line {2}' `
Expand Down

0 comments on commit eb94269

Please sign in to comment.