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

Override default keybinding for cmd-enter #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kylebarron
Copy link

I thought it was weird that you'd need to manually add something to your keymap.cson to use cmd-enter, because I use the Hydrogen package often and I never had to edit the keymap to use cmd-enter with that package.

Looking at Hydrogen's keymap.cson, the included changes should force the use of cmd-enter for this package. I've also added [data-grammar="source r"] because it's likely anyone using this package would only be using it for files covered by the R grammar file, but you could take that out if you want.

I believe this could fix #52 and #51.

@pimentel
Copy link
Owner

fantastic. thanks, @kylebarron! going to test this out and merge later this week.

@kylebarron
Copy link
Author

Also, thanks for the awesome package! It was really easy to port all the functionality to running code in Stata.

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

Successfully merging this pull request may close these issues.

r-exec ctrl+return command not working
2 participants