Update fish bindings. (#265)

This commit is contained in:
Patrick Jackson 2022-02-15 15:21:28 -08:00 committed by GitHub
parent 4223ac6943
commit e117b622fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,15 @@ function _atuin_search
end end
if test -z $ATUIN_NOBIND if test -z $ATUIN_NOBIND
bind \cr _atuin_search
bind -k up _atuin_search bind -k up _atuin_search
bind \eOA _atuin_search bind \eOA _atuin_search
bind \e\[A _atuin_search bind \e\[A _atuin_search
if bind -M insert > /dev/null 2>&1
bind -M insert \cr _atuin_search
bind -M insert -k up _atuin_search
bind -M insert \eOA _atuin_search
bind -M insert \e\[A _atuin_search
end
end end