Skip to content

Override default keybinding for cmd-enter#53

Open
kylebarron wants to merge 2 commits intopimentel:masterfrom
kylebarron:master
Open

Override default keybinding for cmd-enter#53
kylebarron wants to merge 2 commits intopimentel:masterfrom
kylebarron:master

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