Skip to content

[iOS, Bluetooth keyboard] { and } movement doesn't work #243

@lebigot

Description

@lebigot

On a French Bluetooth keyboard on iOS (18.6), the { and } movement keys (in normal mode) do not move the cursor as normal, but instead insert the corresponding character.

I observe this problem in (iOS) Safari on the test site. As a point of comparison, doing the same does work in Firefox on Windows 11 (on a French keyboard, too, where } involves AltGr).

Here is the sequence printed by the site (for iOS in Safari):

164 text
163 keypress } Minus
162 handleKey <A-}>
161 keydown } Minus
160 handleKey
159 keydown Alt AltLeft
158 keypress Escape Escape

Maybe this is part of a more general issue with handling (non-US?) external keyboards and characters with dead/modifier keys in normal mode? The following were fixed, in the past, for instance:

  1. Replacing a character (r) doesn't work with two-key characters (^+o = ô, etc.) #125
  2. Backtick (move to mark) doesn't work with French Mac keyboard #91

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions