Update fish bindings. (#265)
This commit is contained in:
parent
4223ac6943
commit
e117b622fe
1 changed files with 8 additions and 0 deletions
|
@ -21,7 +21,15 @@ function _atuin_search
|
|||
end
|
||||
|
||||
if test -z $ATUIN_NOBIND
|
||||
bind \cr _atuin_search
|
||||
bind -k up _atuin_search
|
||||
bind \eOA _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
|
||||
|
|
Loading…
Reference in a new issue