Skip to content

Commit

Permalink
fix(bash): fix a workaround for bash-5.2 keybindings (#2060)
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga authored May 30, 2024
1 parent 2110951 commit f6918d9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/atuin/src/shell/atuin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -329,12 +329,12 @@ if [[ $__atuin_bind_up_arrow == true ]]; then
bind -m emacs '"\e[A": "\C-x\C-p"'
bind -m emacs '"\eOA": "\C-x\C-p"'
bind -m vi-insert -x '"\C-x\C-p": __atuin_history --shell-up-key-binding --keymap-mode=vim-insert'
bind -m vi-insert -x '"\e[A": "\C-x\C-p"'
bind -m vi-insert -x '"\eOA": "\C-x\C-p"'
bind -m vi-insert '"\e[A": "\C-x\C-p"'
bind -m vi-insert '"\eOA": "\C-x\C-p"'
bind -m vi-command -x '"\C-x\C-p": __atuin_history --shell-up-key-binding --keymap-mode=vim-normal'
bind -m vi-command -x '"\e[A": "\C-x\C-p"'
bind -m vi-command -x '"\eOA": "\C-x\C-p"'
bind -m vi-command -x '"k": "\C-x\C-p"'
bind -m vi-command '"\e[A": "\C-x\C-p"'
bind -m vi-command '"\eOA": "\C-x\C-p"'
bind -m vi-command '"k": "\C-x\C-p"'
fi
fi

Expand Down

0 comments on commit f6918d9

Please sign in to comment.