Skip to content

Create RStudio addin for %<-% #54

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dkahle
Copy link

@dkahle dkahle commented Nov 30, 2020

Simple adding for %<-%. I think I crossed all t's and dotted all i's, but let me know if I've missed something!

@nteetor
Copy link
Member

nteetor commented Dec 17, 2020

Hello @dkahle, thank you for the pull request. Could you provide a little more context and detail about your PR?

@dkahle
Copy link
Author

dkahle commented Jan 14, 2021

Sure @nteetor. RStudio has native modifiable hotkeys for the assignment operator <- and the pipe %>% (see Tools > Modify Keyboard Shortcuts...), but there is no similar hotkey for %<-%. This commit allows for the addition of one in the sense that, after installing the update (and maybe reopening RStudio), there will be an option in that modify keyboards shortcut menu allowing users to map %<-% to a hotkey sequence. Does that help? It shouldn't change any behavior of in the package other than making it mappable, but not defaulted to anything.

Here's a link to a (now somewhat dated) overview of RStudio addins, if it helps: https://rstudio.github.io/rstudioaddins/

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.

2 participants