column-mode selection using keyboard only?

Hi everyone,

I'm wondering if there's a keyboard-only alternative to the ALT - click & drag to perform column-type selection in the script editor... I'm used to np++'s ALT-SHIFT-UP and ALT-SHIFT-DOWN to do it, but can't find it in RStudio.

Thanks in advance!

Yep. Press Alt+Shift+K to bring up the keyboard shortcut list for your platform (you didn't mention which OS you're on) and look for Add Cursor Above Current Cursor.

On MacOS, the keyboard alternative is Shift+Option+Up to create a new column cursor on the previous line (and Down for the next line, of course).

Hi Jonathan,

Excellent, thanks a lot! I was starting to lose hope :wink:

Best wishes

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