News for hackers. Stuff that matters.
Re:Python REPL with syntax highlighting, autocomplete and mu... by PythonicAlpha on Tuesday September 30, 2014 @06:10PM (#8391647)
Very useful, indeed.

One thing that I am missing already is searching inside the history for a specific input. There is some search facility (in vi mode, you can press / and it says that it will search), but I don't know how it works, since it gives no results.

Ok, now I see, it just marks the search results, but does not give an immediate result. That is not, what I would expect and what would be useful for me. In ksh, I believe, there was the possibility to search backwards in history and when it was performed, the most recent input line was put into the active input for replay or editing.

Re:Python REPL with syntax highlighting, autocomplete and mu... by jonathan_s on Wednesday October 01, 2014 @04:27AM (#8393345)
This could be confusing. '?' is for searching backwards, '/' for searching forward. Because we are in a multiline environment, I preferred the Vi keybindings instead of the readline bindings (where '/' goes backwards.)

Also the ControlX-ControlL sequence can complete a line based on the history. (Type "imp"C-X C-L and you get your last import.)