I was wondering if there was a way to make Mathematica evaluate when
hitting Enter alone, and make the cursor go to the next line without
evaluating using Shift-Enter.
Wouldn't that be easier, since we evaluate more often than go to the
next line?
Cheers,
Patrick
I don't think I evaluate more often than going to the next line,
personally. I tend to write many lines all in one cell, separated by
semi-colons, using Enter for linebreaks.
You can, BTW, use the Enter on the numberpad in place of Shift-Enter.
--
Helen Read
University of Vermont
If you are using normal keyboard (desktop), you can use enter button
on numberpad. BUT HOW ABOUT laptop's keyboard? ANY suggestions
please??? thanks
~RG
You can do this by editing the
C:\Program Files\Wolfram
Research\Mathematica\6.0\SystemFiles\FrontEnd\TextResources\Windows\KeyEventTranslations.tr
file (or the corresponding file on your system). Just make a back up
before you modify the file and do not put any extra files in that directory.
> Wouldn't that be easier, since we evaluate more often than go to the
> next line?
No, it would be inconvenient for me. I often use long input
expressions, and break them into lines manually to make them more
readable. (E.g. think about Module[].)
Also note that you can use the keypad enter key to evaluate cells.
stpatryck wrote:
> Hello Fellow Mathematica Users,
>
> I was wondering if there was a way to make Mathematica evaluate when
> hitting Enter alone, and make the cursor go to the next line without
> evaluating using Shift-Enter.
>
> Wouldn't that be easier, since we evaluate more often than go to the
> next line?
>
>
> Cheers,
> Patrick
>
--
Murray Eisenberg mur...@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
Bobby
On Sun, 02 Nov 2008 01:57:46 -0500, Murray Eisenberg
<mur...@math.umass.edu> wrote:
> Get a keyboard whose keys are reprogrammable? (I use a Creative Vision
> Technologies "Avant Stellar", which has just such a capability.)
>
> stpatryck wrote:
>> Hello Fellow Mathematica Users,
>>
>> I was wondering if there was a way to make Mathematica evaluate when
>> hitting Enter alone, and make the cursor go to the next line without
>> evaluating using Shift-Enter.
>>
>> Wouldn't that be easier, since we evaluate more often than go to the
>> next line?
>>
>>
>> Cheers,
>> Patrick
>>
>
Don't know about easier, but it's possible:
SetOptions[EvaluationNotebook[], NotebookEventActions ->
{"ReturnKeyDown" :>
FrontEndTokenExecute["EvaluateCells"],
{"MenuCommand", "HandleShiftReturn"} :>
FrontEndTokenExecute["Linebreak"]}]
Maxim Rytin
m...@inbox.ru
Bobby
On Sun, 02 Nov 2008 01:57:46 -0500, Murray Eisenberg
<mur...@math.umass.edu> wrote:
> Get a keyboard whose keys are reprogrammable? (I use a Creative Vision
> Technologies "Avant Stellar", which has just such a capability.)
>
> stpatryck wrote:
>> Hello Fellow Mathematica Users,
>>
>> I was wondering if there was a way to make Mathematica evaluate when
>> hitting Enter alone, and make the cursor go to the next line without
>> evaluating using Shift-Enter.
>>
>> Wouldn't that be easier, since we evaluate more often than go to the
>> next line?
>>
>>
>> Cheers,
>> Patrick
>>
>