Discovered a hidden keybinding: Ctrl+Alt+K

Trying to show keybindings help I may have discovered a "hidden" key combo that made my jaw dropped to the floor.

I assume that the behaviour is: Taking the same character where the cursor is in the code block, places a new cursor in all the appearances of the same character in ALL the document.

I have been searching inside Rstudio keybindings customisation but is not there. Googled a bit and isn't there.

anyone is aware of this?

6 Likes

Wow, that is awesome!!!!

That feature is used to e.g. edit all instances of a variable name within a script.

My approach was to paste into a word processor, run a global replace, and then paste back into R. This is much simpler.

You can run a global replace within RStudio. Using a word processor for this is totally unnecessary.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.