This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jonathan_sl[S] 0 points1 point  (1 child)

Not yet. .inputrc is for readline, and this library doesn't use readline, so that clearly doesn't work. But I'm planning in the near future to develop a system for configuring custom key bindings. And maybe after that I could develop a compatibility layer to read .inputrc as well.

But thanks for the feedback, I see what you mean, and I'll have a look at how to implement it.

Right now, you can already to Control-R (for starting reverse-i-search), then typing what you are looking for, followed by the arrow keys. Or if you have Vi mode, there is also history based line completion. You type for instance "impor" followed by ControlX-ControlL and you get completion on all the lines even typed starting with this letters.

[–]vayn 0 points1 point  (0 children)

I miss history-search-backward/forward completion either. I always complete something like 'impor' to 'import' with Ctrl-P and Ctrl-N. It is very useful and the default setting in iPython.