From e117b622feb3b1bf4986e35c674b08978774f6a4 Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Tue, 15 Feb 2022 15:21:28 -0800 Subject: [PATCH] Update fish bindings. (#265) --- src/shell/atuin.fish | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/shell/atuin.fish b/src/shell/atuin.fish index b382b7e3..1e173141 100644 --- a/src/shell/atuin.fish +++ b/src/shell/atuin.fish @@ -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