26

Like Racket - how to get the “previous executed command” in bash script? but with DrRacket. How can I get the previously executed command in DrRacket (like up arrow function in bash)?

nbro
  • 15,395
  • 32
  • 113
  • 196
Zan RAKOTO
  • 903
  • 9
  • 14
  • 1
    possible duplicate of [How can I clear the interpreter screen in Dr. Racket IDE?](http://stackoverflow.com/questions/23792203/how-can-i-clear-the-interpreter-screen-in-dr-racket-ide) – Óscar López Jul 08 '14 at 13:48

3 Answers3

40

Use esc + p, or you can define your own bindings.

Also, esc + n skips forward instead of backward.


To help you remember: previous, next

Eric Andrew Lewis
  • 1,256
  • 2
  • 13
  • 22
ಠ_ಠ
  • 3,060
  • 28
  • 43
14

cmd + ctrl + up (or down) for Mac

TheGI
  • 171
  • 1
  • 3
2

It's now the same on mac as the original answer. esc + p / n

Yash Sharma
  • 94
  • 1
  • 5