Fix mode switching example in CHANGELOG

This commit is contained in:
Junegunn Choi 2025-02-02 02:26:13 +09:00
parent 0c61223884
commit 323f6f6202
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -37,10 +37,10 @@ CHANGELOG
# Vim-like mode switch
fzf --layout reverse-list --no-input \
--bind 'j:down,k:up,/:show-input+unbind(j,k)' \
--bind 'j:down,k:up,/:show-input+unbind(j,k,/)' \
--bind 'enter,esc,ctrl-c:transform:
if [[ $FZF_INPUT_STATE = enabled ]]; then
echo "rebind(j,k)+hide-input"
echo "rebind(j,k,/)+hide-input"
elif [[ $FZF_KEY = enter ]]; then
echo accept
else