diff options
| author | Jamie Quigley <jamie@quigley.xyz> | 2022-12-24 17:18:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-24 17:18:44 +0000 |
| commit | a5616aea8fa28db6f8f7b1a44e28f90aab3363b7 (patch) | |
| tree | e4669336601c6f7a6f14dc980493800f98dd0014 /src/shell/atuin.fish | |
| parent | Allow overriding filter and search modes from CLI (#635) (diff) | |
| download | atuin-a5616aea8fa28db6f8f7b1a44e28f90aab3363b7.zip | |
Rework `atuin init` (#652)
* Rework `atuin init`
This allows users to disable the CTRL-R and Up Arrow bindings,
independently from one another
* Document --disable-{ctrl-r,up-arrow}
* Apply suggestions from code review
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
Diffstat (limited to 'src/shell/atuin.fish')
| -rw-r--r-- | src/shell/atuin.fish | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/shell/atuin.fish b/src/shell/atuin.fish index 9446907e..727d1377 100644 --- a/src/shell/atuin.fish +++ b/src/shell/atuin.fish @@ -38,18 +38,3 @@ function _atuin_bind_up up-or-search end end - -if test -z $ATUIN_NOBIND - bind \cr _atuin_search - bind -k up _atuin_bind_up - bind \eOA _atuin_bind_up - bind \e\[A _atuin_bind_up - - - if bind -M insert > /dev/null 2>&1 - bind -M insert \cr _atuin_search - bind -M insert -k up _atuin_bind_up - bind -M insert \eOA _atuin_bind_up - bind -M insert \e\[A _atuin_bind_up - end -end |
