Skip to content

Commit

Permalink
docs!(key-binding): rename ZLE widget "_atuin_search_widget => atuin-…
Browse files Browse the repository at this point in the history
…search"

This reflects the change in atuinsh/atuin#1631
  • Loading branch information
akinomyoga committed Jan 29, 2024
1 parent 33a1d6d commit b8c6b9a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/content/docs/configuration/key-binding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,19 @@ ctrl_n_shortcuts = true

If you'd like to customize your bindings further, it's possible to do so with custom shell config:

Atuin defines the ZLE widget "\_atuin_search_widget"
Atuin defines the ZLE widget "atuin-search"

Note: use the widget name "\_atuin\_search\_widget" in `atuin <= 17.2.1` instead

```
export ATUIN_NOBIND="true"
eval "$(atuin init zsh)"
bindkey '^r' _atuin_search_widget
bindkey '^r' atuin-search
# depends on terminal mode
bindkey '^[[A' _atuin_search_widget
bindkey '^[OA' _atuin_search_widget
bindkey '^[[A' atuin-search
bindkey '^[OA' atuin-search
```

## bash
Expand Down

0 comments on commit b8c6b9a

Please sign in to comment.