TL;DR
I need some help figuring out why my atuin is not triggering the interactive search with ctrl+r by default.
Really appreciate your time/support in advance.
Here it goes
I’m on an Apple M2 Sequoia 15.4.1 and use mainly wezterm and zsh; however, also tested and got the same behaviour with ghostty, alacritty, kitty and even iterm.
I want to open the interactive search with ctrl-r, this already happens if I hit ctrl-p or the up-arrow (I have; currently if I use ctrl+r I get my bck-i-search: _
(I used to have fzf and disabled it to check if there was any conflict).
Also checked and there’s no wezterm customisation (in its lua config) around the binding, otherwise I’m assuming it wouldn’t trigger the default bck-i-search anyways.
This is my current info:
{
"atuin": {
"version": "18.6.1",
"sync": null,
"sqlite_version": "3.46.0"
},
"shell": {
"name": "zsh",
"default": "zsh",
"plugins": [
"atuin"
],
"preexec": "built-in"
},
"system": {
"os": "Darwin",
"arch": "arm64",
"version": "15.4.1",
"disks": [
{
"name": "Macintosh HD",
"filesystem": "apfs"
},
{
"name": "Macintosh HD",
"filesystem": "apfs"
}
]
}
}
And on my ~/.zshrc I have:
...
# 👇 checked it and this adds atuin in the PATH
. "$HOME/.atuin/bin/env"
# 👇 with the env var active it currently prevents ctrl-p and up-arrow to trigger the search by default
# export ATUIN_NOBIND="true"
eval "$(atuin init zsh)"
# bindkey '^r' atuin-search
# bindkey '^r' _atuin_search
# bindkey '^r' _atuin_search_widget
Tried multiple combos with no success throughout my attempts.
If I execute directly _atuin_search
it triggers the interactive search as I wanted, so I assume the issue is around the bindkey.
Thank you