News for hackers. Stuff that matters.
Re:Python REPL with syntax highlighting, autocomplete and mu... by jonathan_s on Tuesday September 30, 2014 @08:31AM (#8387772)
Thanks for the feedback.

About "daw": it looks like I forgot about that. To be fixed, but right now use "diw" instead. (Please create a github issue if there are some other important key bindings missing.)

At the moment, I don't know yet about auto-reloading in IPython, but that's worth looking at.

About the PYTHONPATH, that's easy to fix. (Should we always add the current directory to the path in a REPL?)

Re:Python REPL with syntax highlighting, autocomplete and mu... by PythonicAlpha on Tuesday September 30, 2014 @06:15PM (#8391689)

  (Should we always add the current directory to the path in a REPL?)
Yes, of course! That was my first problem. The standard "python" always has the current directory in the module path.

Please also have a look on my suggestion for the search facility: https://news.ycombinator.com/item?id=8391647

It would be really helpful, to just search for some keyword and have the last occurence (for example import) as template without the need for going back the history by hand.

Re:Python REPL with syntax highlighting, autocomplete and mu... by jonathan_s on Wednesday October 01, 2014 @03:58AM (#8393284)
>> It would be really helpful, to just search for some keyword and have the last occurence...

In Vi-mode, use ControlX-ControlL after typing the start of the line, then you have line based completion, which also completes from the history.