mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-26 02:04:49 +01:00
Update fish bindings. (#265)
This commit is contained in:
parent
4223ac6943
commit
e117b622fe
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user