Skip to content

Commit

Permalink
Update key binding docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie committed Oct 15, 2023
1 parent 20afcd2 commit 2da525d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/docs/key-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ filter_mode_shell_up_key_binding = "directory" # or global, host, directory, etc

## Disable up arrow

Our default up-arrow binding can be a bit contentious. Some people love it, some people hate it. Many people who found it a bit jarring at first have since come to love it, so give it a try! Otherwise, if you don't like it, it's easy to disable.
Our default up-arrow binding can be a bit contentious. Some people love it, some people hate it. Many people who found it a bit jarring at first have since come to love it, so give it a try!

It becomes much more powerful if you consider binding a different filter mode to the up arrow. For example, on "up" Atuin can default to searching all history for the current directory only, while ctrl-r searches history globally. See the [config](https://atuin.sh/docs/config/#filter_mode_shell_up_key_binding) for more.

Otherwise, if you don't like it, it's easy to disable.

You can also disable either the up-arrow or <kbd>Ctrl-r</kbd> bindings individually, by passing
`--disable-up-arrow` or `--disable-ctrl-r` to the call to `atuin init`:
Expand Down

1 comment on commit 2da525d

@vercel
Copy link

@vercel vercel bot commented on 2da525d Oct 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

atuin-docs – ./

atuin-docs-atuin.vercel.app
atuin-docs.vercel.app
atuin-docs-git-main-atuin.vercel.app

Please sign in to comment.