Atuin: Difference between revisions
No edit summary |
add note on disabling up-arrow / Ctrl+R |
||
Line 20: | Line 20: | ||
}; | }; | ||
</nowiki>}} | </nowiki>}} | ||
=== Disable up-arrow / Ctrl+R keybindings === | |||
Key bindings are not part of Atuin settings and need to be passed as flags instead.{{file|~/.config/home-manager/home.nix|nix|<nowiki> | |||
{ pkgs, ... }: { | |||
programs.atuin = { | |||
enable = true; | |||
# ... | |||
flags = [ "--disable-up-arrow" ]; # or --disable-ctrl-r | |||
}; | |||
}; | |||
</nowiki>|name=~/.config/home-manager/home.nix|lang=nix}} | |||
=== Enable synchronization with atuin.sh === | === Enable synchronization with atuin.sh === | ||
Line 60: | Line 71: | ||
=== zsh autosuggestions === | === zsh autosuggestions === | ||
If zsh autosuggestions is enabled, atuin automatically adds itself as the first autosuggestion strategy; | If zsh autosuggestions is enabled, atuin automatically adds itself as the first autosuggestion strategy; see [https://docs.atuin.sh/integrations/#zsh-autosuggestions atuin docs] | ||
{{file|~/.config/home-manager/home.nix|nix|<nowiki> | {{file|~/.config/home-manager/home.nix|nix|<nowiki> |