diff --git a/docs/key-binding.md b/docs/key-binding.md index c877674..7a96803 100644 --- a/docs/key-binding.md +++ b/docs/key-binding.md @@ -36,3 +36,13 @@ eval "$(atuin init bash)" # bind to ctrl-r, add any other bindings you want here too bind -x '"\C-r": __atuin_history' ``` +# fish + +``` +set -gx ATUIN_NOBIND "true" +atuin init fish | source + +# bind to ctrl-r in normal and insert mode, add any other bindings you want here too +bind \cr _atuin_search +bind -M insert \cr _atuin_search +```