mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
Merge pull request #550 from gene-pavlovsky/gene-pavlovsky-patch-2
[bash] Update key-bindings.bash
This commit is contained in:
@@ -65,7 +65,7 @@ if [ -n "$TMUX_PANE" ]; then
|
|||||||
[ $BASH_VERSINFO -gt 3 ] && __use_tmux_auto=1
|
[ $BASH_VERSINFO -gt 3 ] && __use_tmux_auto=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$(set -o | \grep '^vi.*on')" ]; then
|
if [[ $'\n'$(set -o) != *$'\n'vi*on* ]]; then
|
||||||
# Required to refresh the prompt after fzf
|
# Required to refresh the prompt after fzf
|
||||||
bind '"\er": redraw-current-line'
|
bind '"\er": redraw-current-line'
|
||||||
bind '"\e^": history-expand-line'
|
bind '"\e^": history-expand-line'
|
||||||
|
|||||||
Reference in New Issue
Block a user