←back to thread

131 points tosh | 2 comments | | HN request time: 0.421s | source
Show context
picardo ◴[] No.44364726[source]
Is there a way to change the key binding of the search screen? I'm too attached to using the up key to recover the last command I used, and it's a little jarring to now have to click tab from the Atuin search interface. It adds a little friction each time I have to do this.

As an aside, most of my usage of history is to use the last few commands I used, and so seeing the entire history each time seems like an overkill.

replies(1): >>44364739 #
1. NoNotTheDuo ◴[] No.44364739[source]
There’s a whole doc page about it: https://docs.atuin.sh/configuration/key-binding/#disable-up-...
replies(1): >>44364755 #
2. picardo ◴[] No.44364755[source]
Thanks. I bound it to double up key in zsh.

> bindkey '^[[A^[[A' atuin-up-search

Works much better now!