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

How to insert the pipe operator? #37

Closed ekoepplin closed 7 years ago

ekoepplin commented 7 years ago

Hi, I just cant figure out how to insert the pipe %>% via some key binding. I have tried the usual suspect shift+command+M. But that is already taken. After disabling the default key bindings of the r-exec I still could not use that binding (I suppose I have to define it explicitly somehow.) Nevertheless, I have loaded dplyr and pasted %>% which however returned "unknown function". DO I miss something here? Appreciate your help!

pimentel commented 7 years ago

Hey there @hugeme !

Totally my fault... I forgot to document it in the README.md

Anyway, you can find all of the default mappings here: https://github.com/pimentel/atom-r-exec/blob/master/keymaps/r-exec.cson

You should be able to simply type shift-alt-m and it should work.

Please let me know how it goes.

Thanks

pimentel commented 7 years ago

documentation has been improved in master. will update the package by the end of the week.