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

Better window creation/switch detection for Raycast/Alfred #43

Open
kanghengliu opened this issue Aug 5, 2024 · 0 comments
Open

Better window creation/switch detection for Raycast/Alfred #43

kanghengliu opened this issue Aug 5, 2024 · 0 comments

Comments

@kanghengliu
Copy link

kanghengliu commented Aug 5, 2024

As indicated in this thread, with current implementation, apps that do not signal front application changed like Raycast/Alfred(no compatibility mode) do not get detected in window switching.

It's not really a major problem in alfred, since after invoking alfred bar, typing will start in insert mode;

However in Raycast, svim will start as whichever mode that's last used in it.

It would be great if either:

  • Detect window switching with more robust methods.
  • Detect window destroyed event to reinitialize raycast bar's vim buffer to start at insert mode

For the first solution, this issue in KindaVim mentions using "other nails and hammers" method to detect new windows. Sadly KV is closed source so we have little idea as to which.

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

1 participant