key: 'ArrowDown',

Hello.
Can i update get ArrowDown run logic in autocomplete list using keymap.of([]) ?
https://codemirror.net/6/docs/ref/#autocomplete.completionKeymap

or need to create my own event listener?

Because ArrowLeft works inside autocomplete list, so maybe is a way to use ArrowDown too?

The autocompletion extension binds the command for moving through the list to arrow down at a higher precedence than the one that moves the cursor. And yes, you can bind arrow keys with keymap extensions.

1 Like