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

Remove C-n and C-p from the insert mode keymap #3340

Commits on Aug 5, 2022

  1. Remove C-n and C-p from the insert mode keymap

    These are read-line-like bindings which we'd like to minimize in
    insert mode in general.
    
    In particular these two are troublesome if you have a low
    `editor.idle-timeout` config and are using LSP completions: the
    behavior of C-n/C-p switches from moving down/up lines to moving
    down/up the completion menu, so if you hit C-n too quickly
    expecting to be in the completion menu, you'll end up moving down
    a line instead. Using C-p moves you back up the line but doesn't
    re-trigger the completion menu. This kind of timing related change
    to behavior isn't realistically that big of a deal but it can be
    annoying.
    the-mikedavis committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    9d15e13 View commit details
    Browse the repository at this point in the history