How to edit with multiple-selections in RStudio?
From Rstudio conf-2017
- place your cursor on one of the
mydata
terms - Press Ctrl + Alt + Shift + M: "Rename in scope. Refactoring"
This will select all the matching terms in your code
- Use the arrow keys to move the multi-cursor to the position you want to start editing.
- Press
esc
when you are finished