diff options
Diffstat (limited to 'docs/key-binding.md')
| -rw-r--r-- | docs/key-binding.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/key-binding.md b/docs/key-binding.md index c8776741..7a968030 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 +``` |
