[Tutor] command line
Erik Price
erikprice@mac.com
Sun, 31 Mar 2002 11:09:31 -0500
On Sunday, March 31, 2002, at 05:14 AM, Andrei Kulakov wrote:
> I like to use vim commands to edit any substantial amount of code - hjkl
> and the like for movement, I can't stand cursor keys.
>
> No place like home (row) :-).
>
> Python interpreter is plenty enough for me to look things up quickly.
Similarly, but differently, I can't stand cursor keys -- but I prefer
the emacs bindings (nkpf). I use the interpreter/shell (IOW call python
from the command line with no args), but I've noticed that I can't use
the typical emacs key bindings to move backward and forward through my
history. Is this the way it is, or is there some way I can configure
the interpreter to return lines from my command history using these
bindings? I have my bash shell environment variable
EDITOR=/usr/bin/emacs and this works for all of my other programs, but
not for Python.
Does anyone know if this feature exists?
TIA,
Erik