prompt-toolkit / python-prompt-toolkit

Library for building powerful interactive command line applications in Python
https://python-prompt-toolkit.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
9.33k stars 714 forks source link

questions around vim functionalities #1439

Open jerabaul29 opened 3 years ago

jerabaul29 commented 3 years ago

Hi,

I have been redirected here from https://github.com/xonsh/xonsh/issues/4292 .

From the discussions there:

"

I was wondering: are these limitations of the present repo (and if so, could the functionalities be added?), or is it a limitation of how Xonsh uses the prompt-toolkit? :)

jonathanslenders commented 3 years ago

Hi @jerabaul29,

To answer the first question: repetition of inserted text is not implemented. Also the . (dot) operator is not implemented. It can be done. I think there were some proposals for the . operator, but I never got around reviewing/merging that.

Navigating to a previous prompt or its output is beyond the scope of this library. There is nothing really meaningful we can do there.

Jonathan