You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To input blackslash in iOS, we need switch to symbol keyboard by two click, not a good idea. Personally, I prefer to using two finger tap gesture as an alternative.
Thanks for the patch @pinxue ! However I won't pull this in, as it isn't user-customizable. Sure backslash isn't the best solution. But at least it's something users can change without rebuilding Vim.
In that case, I think the proper fix would be to solve issue #3 by adding gestures as mappable objects.
To input blackslash in iOS, we need switch to symbol keyboard by two click, not a good idea. Personally, I prefer to using two finger tap gesture as an alternative.
I have forked it as https://github.com/pinxue/Vim .
git diff is:
diff --git a/src/gui_ios.m b/src/gui_ios.m
index ecd1f11..10b5e7a 100644
--- a/src/gui_ios.m
+++ b/src/gui_ios.m
@@ -128,7 +128,13 @@ enum blink_state {
[super viewDidLoad];
[_textView addGestureRecognizer:tapGestureRecognizer];
[tapGestureRecognizer release];
@@ -199,6 +205,13 @@ enum blink_state {
gui_send_mouse_event(MOUSE_LEFT, clickLocation.x, clickLocation.y, 1, 0);
}
+- (void)click2f:(UITapGestureRecognizer *)sender {
+}
CGPoint clickLocation = [sender locationInView:sender.view];
The text was updated successfully, but these errors were encountered: