m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 23:33:39 -05:00

Merge pull request #550 from gene-pavlovsky/gene-pavlovsky-patch-2

[bash] Update key-bindings.bash
This commit is contained in:
Junegunn Choi
2016-04-23 11:35:27 +09:00

View File

@@ -65,7 +65,7 @@ if [ -n "$TMUX_PANE" ]; then
[ $BASH_VERSINFO -gt 3 ] && __use_tmux_auto=1
fi
if [ -z "$(set -o | \grep '^vi.*on')" ]; then
if [[ $'\n'$(set -o) != *$'\n'vi*on* ]]; then
# Required to refresh the prompt after fzf
bind '"\er": redraw-current-line'
bind '"\e^": history-expand-line'