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

feat: Add '/', '?', and 'I' bindings to vim-normal mode #1760

Merged
merged 1 commit into from
Feb 26, 2024

Commits on Feb 22, 2024

  1. feat: Add '/', '?', and 'I' bindings to vim-normal mode

    Add 'I' binding to vim-normal mode (a la 'A' introduced in atuinsh#1697) to
    jump into vim-insert mode at the beginning of the search input.
    
    Also add '/' and '?' bindings to vim-normal mode to clear the search
    input and jump into vim-insert mode. This mimics the UX in e.g. `set -o
    vi` (bash) or `bindkey -v` (zsh) mode when you are using 'k' and 'j' to
    browse history lines and can type '/' or '?' to start a new search. (In
    a perfect world it would target the search in the forward or backward
    range starting at your current position in the history, but this is a
    reasonable first step.)
    mwpastore committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    1241af9 View commit details
    Browse the repository at this point in the history