Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I went to a Wolfram Technologies workshop a few weeks ago and the presenter showed us a keyboard shortcut that when a block of input is selected, the shortcut puts the block of selected input in (* comment *) brackets. I've forgotten what the shortcut is though. Does anyone know what it is?

share|improve this question
    
On my Mac, it's ⌘ /. –  hftf Apr 14 at 11:32
2  
and Alt+/ on Windows. –  kguler Apr 14 at 11:42
2  
It's in one of the menus; the Edit menu I believe. –  Sjoerd C. de Vries Apr 14 at 12:05
    
It's Alt+/ on Linux. (On a german keyboard, this would be Alt+Shift+7.) –  Stefan Apr 14 at 13:34
    
On Windows, you can also use context menu short cut: RightClick+u –  kguler Apr 14 at 15:18

1 Answer 1

up vote 6 down vote accepted

The short-cut keys for various actions can usually be found directly in the menu. Here on OSX you see the +/ at the right side under Un/Comment Selection:

enter image description here

As pointed out in the comments for various systems the short-cut to comment a selection is

  • +/ for Mac OS X
  • Alt+/ for Windows
  • Alt+/ for Linux
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.