Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Can’t switch to normal mode on mobile safari

Open rianfowler opened this issue 4 years ago • 5 comments

Describe the bug Can’t switch to normal mode on mobile safari.

To Reproduce Steps to reproduce the behavior:

  1. Load VSCode in mobile safari with vim mode enabled
  2. Enter insert mode
  3. Attempt to switch from insert mode to normal mode with escape or a remapped binding (on iPad OS, escape is mapped to CMD + . by default)

Expected behavior should switch to normal mode

Environment (please complete the following information): Latest iPad OS on GitHub Codespaces

  • Extension (VsCodeVim) version:
  • VSCode version:
  • OS:

Additional context

  • I verified that VSCode is picking up the escape event by dismissing menus with CMD + .
  • this works on MacOS Safari and in the desktop app

rianfowler avatar Jun 25 '21 12:06 rianfowler

This is incredible -- you're programming on vscode vim on an iPad! How is that user experience?

teachermugabo avatar Jul 05 '21 01:07 teachermugabo

I noticed the same issue. In my case, I plugged in an external mechanical keyboard (via USB) and noticed the same behaviour.

@teachermugabo - I found it rather pleasant to code (via gitpod.io). I would imagine this will be similar to the upcoming github codespaces feature.

cloud-on-prem avatar Jul 25 '21 06:07 cloud-on-prem

I've noticed this issue too, I bought a Bluetooth keyboard for my iPad. I can verify that vim works well via SSH. Remapping the caps lock key to ESC and/or pressing ⌘ + . works fine. It just doesn't work on VS Code.

simoncpu avatar Sep 11 '23 19:09 simoncpu

Same on mobile chrome on android

adamcloudboss avatar Dec 04 '23 22:12 adamcloudboss

Still unable to get ESC to work in VSCode safari. Any workarounds?

alexle avatar Apr 05 '24 15:04 alexle