pimentel / atom-r-exec

Send R code to various R consoles from the Atom editor
https://atom.io/packages/r-exec
MIT License
19 stars 8 forks source link

Fail to send line/section with cmd + enter #51

Open evanzhu2013 opened 7 years ago

evanzhu2013 commented 7 years ago

Thanks so much for your work, which is very useful for working in atom.

And I failed to send line/section with cmd + enter. But, the menu works.

ademcan commented 7 years ago

Hi, Did you try to disable "Keybindings" in R-exec settings pannel (see attached screenshot)? Once disabled, if you add: 'atom-workspace atom-text-editor:not([mini])': 'cmd-enter': 'r-exec:send-command' to your keymap.cson it should work.

keybindins_rexec

kylebarron commented 6 years ago

FYI @pimentel it's possible to override the default cmd-enter keybinding. See https://github.com/nteract/hydrogen/blob/master/keymaps/hydrogen.cson