Keyboard Shortcuts and Handy Short Commands Here are some useful and lesser-known keyboard shortcuts. In terms of saving time, rather than using brackets for single-argument functions, use Prefix: function@argument. Likewise, nesting functions with increasingly distal matched brackets is difficult to read, increases programming time, and obstructs you highlighting what you feel is important in the function. Use Postfix-style with pure Functions like this: dataFiles1//Rest//Flatten//Length; dataFilesDifferences//Chop#,10^-4&//Union/@#&//ListPlot/@#&//Partition#,3&//Grid As advocated in my (also ), a 'Functional-Procedural Fusion' elegantly represents deeply nested functions in a readable manner.
If you do use deeply nested functions, multiple-clicking the Head of an Expression will select its brackets. F1 Search Help for expression to left of cursor Shift + F1 Open new instance of Help browser. Do scratchpad calcs in Help rather than opening a new Notebook. They're automatically cleaned up when you go to a new Help topic. Interrupt a computation. If it doesn't work, do Evaluation/Quit Kernel. Remove a selected computation from the Evaluation queue.
This is handy when you have a long computation running, start another one, and want to abort that one without aborting the one that is running. Rather than using palettes, just learn keyboard shortcuts for the symbols you use frequently, for example: esc+character+esc E.g. To give the Greek letter corresponding to the keyboard character Ctrl+6 Superscript Ctrl+- Subscript Alt+7 Format cell as plain text Alt+6 Format cell as Subsubsection Alt+5 Format cell as Subsection%+ Out line As:%127. Refers to output line #127. Same as Out@127 or Out127 but more concise. I use this frequently for a temporary variable name but if it turns out I need a more permanent mnemonic name I just create one: newName =%127.
![Mathematica Mathematica](http://media.cheatography.com/storage/thumb/cheatography_common-derivatives-and-integrals.600.jpg?last=1425304364)
Keyboard Shortcut Listing Notebook Shortcuts The Wolfram System's interface is carefully optimized for both menu and keyboard use — with many convenient ergonomic features, including some that are not immediately visible from menus. Keyboard Shortcut Listing Special Characters The Wolfram Language not only has systemwide support for arbitrary Unicode characters, but also includes nearly a thousand carefully designed characters for mathematical notation and technical presentation — all fully integrated into the Wolfram Language's input, output, and graphics.
I use%,%%, or%2 only for very temporary 'scratchpad' calcs. Ctrl+L Copy input cell from the one just above Ctrl+Shift+L Copy output cell from the one just above, into new input cell. An alternative is to just start typing in the Output cell and Mathematica automatically creates a new Input cell with those contents. Clear@%127 Removes from memory some huge expression you created or imported in In127.
ClearAll'Global`.' and Remove'Global`.'
![Mathematica keyboard shortcuts download Mathematica keyboard shortcuts download](/uploads/1/2/4/7/124799259/402228037.png)
Clears or Removes all values from variables you created in the current session. If it comes to that, I usually kill the kernel though (Evaluation/Quit Kernel).