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

Hotkey on Mac OS #10

Open
mykyta-shulipa opened this issue Jan 5, 2017 · 1 comment
Open

Hotkey on Mac OS #10

mykyta-shulipa opened this issue Jan 5, 2017 · 1 comment
Assignees

Comments

@mykyta-shulipa
Copy link

As for Mac OS user, it was unclear, that hotkeys is different from bindings in Menu

screen shot 2017-01-05 at 5 28 50 pm

It seems like I can translate using Ctrl + Option + T
Docs doesn't mention Mac OS users at all.

In fact, key bindings is like this:

{"keys": ["ctrl+alt+t"], "command": "ya_translate"},

Maybe, it will be better to map it not to alt, but to option for Mac OS?
E.g. default binding with option key:

{ "keys": ["super+option+v"], "command": "paste_from_history" },

Or at least add this specific case to docs

@pafnuty pafnuty self-assigned this Jan 9, 2017
@pafnuty
Copy link
Owner

pafnuty commented Jan 9, 2017

@nktssh I will try to make changes to the plugin soon.
You can reassign hot keys for the plugin.
Simply insert the required code in the Default (OSX).sublime-keymap file

{"keys": ["option+super+t"], "command": "ya_translate"},
{"keys": ["option+shift+super+t"], "command": "ya_translate_to"}  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants