terrychou / iVim

A vim port to iOS.
601 stars 34 forks source link

Two Finger Swipe as Cursor or Mouse #142

Closed suliveevil closed 4 years ago

suliveevil commented 4 years ago

Would iVim support two finger swipe as cursor or mouse?

suliveevil commented 4 years ago

Left Down Up Right

at any mode needs move.

so that we don’t need extra arrow keys any more.

That will make onScreen keyboard just like a MacBook’s Trackpad.

htkm commented 4 years ago

My understanding is that a two finger gesture should make a cursor move instead of the screen scroll. Is that right? I am not sure if this feature is configurable.

suliveevil commented 4 years ago

Sorry for not explicitly stating the “two finger gesture”. It’s a feature of iPadOS and only works at the On Screen Keyboard area. I will upload a picture. two-finger-swipe

terrychou commented 4 years ago

I didn't know about this feature. Is it also available on iOS system other than iPadOS?

Of course I would like to add it into iVim. However, I am not sure that there is an open API for this or not, I need to do some research first.

suliveevil commented 4 years ago

I only have a iPad😂

htkm commented 4 years ago

I never knew the screen keyboard can do that. Interesting. For the record, my iPhone 6 version 12.4.6 doesn't that.

suliveevil commented 4 years ago

I’m using iPadOS 13.5.1.

terrychou commented 4 years ago

This is called Virtual Trackpad. It is also available on iPhones but you need to 3D touch to activate it. Unfortunately, I had no luck to find APIs for this.

suliveevil commented 4 years ago

This is wired.