Many thanks for this explanation.

And, yes, I feel like an idiot for not having investigated the Edit Menu.

Carl

On 2/2/12 9:42 AM, Hans-Jörg Bibiko wrote:

On 2 Feb 2012, at 15:29, Carl Witthoft wrote:

A little hacking later:

CMD-'   will apply "#" to each line,
CMD-OPT-'  will remove them.

But I'm still interested in knowing what other undocumented keystrokes are out 
there.

Do you wonder why a selection will be wrapped by `` after pressing ` well then 
I can help you.

If you select something in the R script editor or in the RConsole and you will then 
press ( or { or [ or " or ' or ` then the selection will be wrapped by these 
characters; of course for parentheses by the corresponding closing variant.

Since ⌥⌘+` is not assigned to any command this short-cut will simply wrap the 
selection by ``.

Cheers,
--Hans

--

Sent from my Cray XK6
"Pendeo-navem mei anguillae plena est."

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to