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

Can't use d in visual mode in Safari. #103

Closed
aaronrolls opened this issue Jul 30, 2022 · 5 comments
Closed

Can't use d in visual mode in Safari. #103

aaronrolls opened this issue Jul 30, 2022 · 5 comments

Comments

@aaronrolls
Copy link

Perhaps I am missing something, but d will not remove text in visual mode in Safari. Below is a video of this happening in this very input box.

CleanShot2022-07-31at09.12.45.mp4

It does work in other apps, so I am assuming it is a bug.

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

working fine here:

ScreenFlow.mp4

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

any chance Safari is not in the PG-R Family?

@aaronrolls
Copy link
Author

any chance Safari is not in the PG-R Family?

Ah, that was it... I thought since it was native it would have been detected automatically. I feel dumb now.

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

ScreenFlow.mp4

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

Ah, that was it... I thought since it was native it would have been detected automatically. I feel dumb now.

don't be so hard on yourself! Viming under macOS is hard.

even though some apps are native, you can't modify text with the AX APIs. and the AX APIs tell you that the modification succeeded... that happens mostly in some Catalyst apps, some Electron, and Safari (Safari is native yeah but it's still rendering web content).

there's some discussions here and there (at least here) about whether built-in apps should be directly put into some Families. i'm not sure yet how to solve this conundrum. on the one hand i want kV to work straight out of the box, on the other hand someone who uses kV will have to deal with Families at one time. also, for some apps, you have different suggestions/Families, depending on how/which Vim moves you use yourself. so yeah, still need to digest before implementing something a bit better.

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

2 participants