Changing Enter command to be the same as Tab (after Ctrl-R)

First, I really like the idea of Atuin and look forward to using it a lot.
What I’d like to do is make Enter work like Tab after using Ctrl-r.
I never want to run a command directly from Atuin, I just want it on my command line to edit.
I was looking around the docs and couldn’t see a way of making enter work like tab.
It’s way too easy to run a command again when that’s not what you intended.
Any help is appreciated.

2 Likes

Never mind - I’m blind
it’s
enter_accept = false

3 Likes

Glad you found it! This actually used to be the default, but lots and lots of people asked about making it run directly from Atuin :laughing:

Fwiw - enter_accept instructs your shell to execute the command immediately, it doesn’t run anything as a child of Atuin

1 Like

Thank you for asking this, @LeeW - it’s what I, as a very new Atuin user, was looking for too, as I’m a vi mode command editor type of person and also want to use Atuin to manage and help find the commands … to then review, edit and perhaps run, definitely not run immediately. Made my day!

1 Like

Glad you found it!

Otherwise, this part of the docs might be worth a quick read: Basic Usage | Atuin Docs

1 Like

Hint taken :wink: I will admit to getting started by setting up a local Docker powered sync server, and hacking a couple of Docker debian sessions with the client to see how everything worked. So I only read some of the Installation and Self Hosting sections. Mea culpa! :slight_smile:

1 Like

Hahaha, that’s one way to do it! Glad it’s sorted anyways, lmk if there’s anything else

1 Like