I am trying out Atuin, and have managed to get it to the point where I’d like to see if I can use it permanently. Part of that looks to be setting up a couple of keymap entries so that things I habitually do after still behave as I am used to, notably to get me to editing the selected item — by default it clears the selection.
But I have been utterly unable to make any keymap entries I add to the end of ~/.config/atuin/config.toml work. I have tried commenting out the example config’s [keys] block, and tried both [keymap] and [keymap.emacs] (and explicitly set keymap_mode = “emacs” in case that wasn’t happening). No binding ever seems to change (and I’m not wholly sure when it ought to, it feels like it would be immediate after saving the toml file — I am not sync’ing or anything).
For example, on the end of my config file I have two entries, one test (ctrl-d) and one attempt at a binding I want:
[keymap.emacs]
"ctrl-d" = "cycle-filter-mode"
"left" = [
{ when = "cursor-at-start && input-empty", action = "return-selection" },
{ action = "cursor-left" },
]
But neither of these do what I have set, both ctrl-d and left (after I have engaged Atuin by pressing ) perform their default behaviours.
Any ideas what I am missing (or misunderstanding)?
Atuin doctor (running under Ghostty):
{
"atuin": {
"version": "18.11.0",
"commit": "NO_GIT",
"sync": null,
"sqlite_version": "3.47.2"
},
"shell": {
"name": "bash",
"default": "bash",
"plugins": [
"atuin",
"bash-preexec"
],
"preexec": "bash-preexec"
},
"system": {
"os": "Fedora Linux",
"arch": "x86_64",
"version": "42",
"disks": [ snip ]
}
}