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 cross-platform support #72

Open
calmofthestorm opened this issue Sep 22, 2014 · 1 comment
Open

Better cross-platform support #72

calmofthestorm opened this issue Sep 22, 2014 · 1 comment

Comments

@calmofthestorm
Copy link
Member

We should add some additional classes to the core to make working across platforms easier. You can currently do it with ProxyPlatformContext, and that may be necessary for more complex cases, but simple things like different keystrokes should be much easier.

  • ProxyPlatformAction -- performs a different action based on whether currently active is local or a server, and if a server based on what platform (and possibly WM?) it reports.
  • ProxyPlatformKey/Mouse -- sugar for ProxyPlatformAction with Key objects (IE, enter different keystrokes based on platform).
  • Some kind of custom RPC context that makes it easier to work with plugins maybe? Like ProxyRPCContext("get_vim_mode") would call the get_vim_mode RPC (added by a plugn presumably) and match based on the value. Maybe we don't need this and should let plugin authors do it themselves, I welcome opinions here.

Anything else in the same vein?

@calmofthestorm
Copy link
Member Author

Related to the conversation previously at #65, take a look at ContextAction for the time being. It's not as good as what's proposed above but it's less painful than custom rules.

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