prompt-toolkit / pyvim

Pure Python Vim clone.
BSD 3-Clause "New" or "Revised" License
2.52k stars 161 forks source link

num and gg not go to the specified line #61

Open twz915 opened 9 years ago

twz915 commented 9 years ago

I press 5gg, pyvim not work, just gg and G work as wanted

jonathanslenders commented 9 years ago

Hi @twz915,

This is implemented: https://github.com/jonathanslenders/python-prompt-toolkit/commit/f9c54569d98603c98a6f34134c287399f70ed283

It will be in the next release of pyvim. If you have other suggestions. Feel free to create an issue.

Jonathan

hongquan commented 8 years ago

Is it worth to support num + G as well?

jonathanslenders commented 8 years ago

We can add this to pyvim yes. It cannot be added to prompt_toolkit like the other bindings, because there we want to be compatible by default with GNU readline, where <num>G means: go to this entry in the history.