diff options
author | Michael Davis | 2022-08-06 16:25:09 +0000 |
---|---|---|
committer | GitHub | 2022-08-06 16:25:09 +0000 |
commit | 973c51c3e970aa975f2bd1869d50ce2ae6c6de34 (patch) | |
tree | b6400ddabf0df2a9567563e0fd12bde7e6d45e91 /rustfmt.toml | |
parent | ea04220874a262c2a2d64f8eb9e9cb3124eb0886 (diff) |
Remove C-n and C-p from the insert mode keymap (#3340)
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.
Diffstat (limited to 'rustfmt.toml')
0 files changed, 0 insertions, 0 deletions