Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`<C-d>` in Safari on iPad does not work

Open
#115 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by reproducing the issue in web-demo.html using Safari on iPad, comparing with and the same key on macOS. Trace the keyboard handling for the Ctrl-d mapping and verify that the completed fix scrolls down on the first invocation without deleting the line.

Written by the indexing model from the issue text.

Description

codemirror-issue

<C-d> (Ctrl-d) in Safari on iPad does not work. (It should scroll down.)

It doesn't do anything the first time, the second time it deletes the whole line. It seems to me as if the Ctrl isn't recognised, and instead only the d is passed through, so it deletes the full line on second invocation, like dd.

I've tried it here: https://raw.githack.com/replit/codemirror-vim/noremap/dev/web-demo.html
I've used the keyboard from my MacBook with Apple's keyboard and mouse sharing feature.

macOS 13.3.1
iPadOS 16.4.1

<C-f> and others work, though. Might this be a conflict with Ctrl-d on iPadOS (the delete operation, the opposite of backspace)? On macOS, it is handled correctly in Safari.

Dominant language
JavaScript
Stars
473
Forks
54
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from replit/codemirror-vim

All issues in replit/codemirror-vim

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.