Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aider doesn't respect mode=vi / set -o vi #3644

Open
robbintt opened this issue Mar 26, 2025 · 0 comments
Open

Aider doesn't respect mode=vi / set -o vi #3644

robbintt opened this issue Mar 26, 2025 · 0 comments

Comments

@robbintt
Copy link

robbintt commented Mar 26, 2025

Issue

I use set -o vi in .bashrc and this .inputrc, is it possible to support it in aider?

I noticed there is a vi mode in the settings, but since using readline, it might be nice to have this from system settings.


# use `bind -P` to see readline bindings
# use `bind -f ~/.inputrc` to reload

$if mode=vi
set keymap vi-command
# these are for vi-command mode
Control-l: clear-screen
Control-k: history-substring-search-backward
Control-j: history-substring-search-forward
Control-e: shell-expand-line
"gg": beginning-of-history
"G": end-of-history

set keymap vi-insert
# these are for vi-insert mode
Control-l: clear-screen
Control-k: history-substring-search-backward
Control-j: history-substring-search-forward
Control-e: shell-expand-line

# iterm2 bug test - https://gitlab.com/gnachman/iterm2/issues/6951
#set show-mode-in-prompt on

$endif

Version and model info

🔥 aider --version
aider 0.78.0
(reverse-i-search)`aider': aider --model perplexity/r1-1776

@robbintt robbintt changed the title Aider doesn't respect mode=vi Aider doesn't respect mode=vi / set -o vi Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant