diff options
| author | 2025-02-06 08:17:16 -0800 | |
|---|---|---|
| committer | 2025-02-06 08:17:16 -0800 | |
| commit | 46c9198adc0819354855db00d7dcab04022dda5d (patch) | |
| tree | cf6ac461c18becfaca296318c852c142220c06e0 | |
| parent | f9fb79e180f07c26dd9a0827b12cd0b5203c28ed (diff) | |
| download | new-dotfiles-46c9198adc0819354855db00d7dcab04022dda5d.tar.gz new-dotfiles-46c9198adc0819354855db00d7dcab04022dda5d.zip | |
Atuin: Bind C-p and M-p to ‘atuin-up-search’
I use those keybindings more than I do the up arrow key.
| -rw-r--r-- | oni/home/services/zsh.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oni/home/services/zsh.scm b/oni/home/services/zsh.scm index 9138214..2dd1718 100644 --- a/oni/home/services/zsh.scm +++ b/oni/home/services/zsh.scm @@ -189,7 +189,9 @@ and give the user a chance to edit.")) (list (mixed-text-file "zshrc" - "eval \"$(" (home-zsh-atuin-configuration-package config) "/bin/atuin init zsh)\"\n"))))) + "eval \"$(" (home-zsh-atuin-configuration-package config) "/bin/atuin init zsh)\"\n" + "bindkey -M emacs '^p' atuin-up-search\n" + "bindkey -M emacs '^[p' atuin-up-search\n"))))) (define (add-zsh-atuin-configuration config) `(("atuin/config.toml" |
