Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmd-Period no longer interpreted as <Esc> in iPadOS 16 #256

Open
majick opened this issue Oct 27, 2022 · 6 comments
Open

Cmd-Period no longer interpreted as <Esc> in iPadOS 16 #256

majick opened this issue Oct 27, 2022 · 6 comments

Comments

@majick
Copy link

majick commented Oct 27, 2022

After the iPadOS 16 upgrade, when Cmd-Period is pressed, iVim now interprets the keypress as <D-.> rather than <Esc>. The somewhat other more cross-platform convention of <C-]> continues to work fine.

The workaround is to map <D-.> to <Esc>, which makes iVim work as it did yesterday. Weirdly, it seems that all over iPadOS 16, Cmd-Period works perfectly well as <Esc> just as it has for every Apple OS since 1984 so it doesn't seem like an intended change to the OS.

@mchalkley
Copy link

Thank you for reporting this! When it first happened, I thought my 63-year-old synapses had finally started to fail completely...

@terrychou
Copy link
Owner

terrychou commented Nov 2, 2022

iVim has always been monitoring the <D-.> keypress. In systems before i(Pad)OS 16.0, <D-.> had been interpreted into esc automatically by the system before it sends the keypress event to iVim (in other words, iVim had never actually get <D-.> but <Esc>). However, the system gives up the interpretation in version 16.0 and iVim gets the original <D-.>.

IMHO, this is a better thing because we can use this keypress with more freedom:). (Though I need to update the related documentation.)

@nekotiajones
Copy link

@terrychou No, no, no. Please listen to us. Some iPad users are expecting the Command + period to be an ESC, regardless of history/theory you mention. Yes, we could re-map the keys but why make users do something like that? The iPad already is a new device with a lot of things to learn. Please change it so that command + period does ESC by default, for the sake of many future users. Thanks.

@majick
Copy link
Author

majick commented Dec 5, 2022

Note that every other iPadOS program I use continues to treat Cmd-. as <Esc> so while this is clearly a change in the way input is being passed to iVim in particular it's not a universal nor expected change. Every Apple keyboard without an Escape key -- going back to the Macintosh in 1984 -- used this chord for the purpose, just like the iPad does today.

It would be nice if Apple would just pick a consistent way of passing this stuff through to the app!

@terrychou
Copy link
Owner

Since this interpretation is important, I will make the mapping the default in the next update.

@nekotiajones
Copy link

Thanks! And thanks for the quick response, that means a lot! I am impressed so far by this tool. It is very thorough and in-depth. I learn more and more just by reading the documentation. I think it would be wise to create a single document or video for new iOS users. The video would cover the areas which the user is most likely to get stuck at:

  • examples of key binding with the external Magic Keyboard for iPad
  • how to use the 'idocuments' command in order to edit files in place
  • step by step instructions to running existing .py python scripts
  • step by step instructions for running a terminal

I think the text documentation is great, but if there was a quick video to show ^ those listed steps the user could learn much faster.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants