prompt-toolkit / pyvim

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

Filter file hook for path completer #82

Open tony opened 8 years ago

tony commented 8 years ago

See also: https://github.com/jonathanslenders/python-prompt-toolkit/issues/294

Let me know how / what I can improve @jonathanslenders

tony commented 8 years ago

I'm interested to know what you think of this approach @jonathanslenders. Let me know if you have a better architecture in mind / ways I could simplify it / shortcomings my PR introduces I haven't thought about, etc. I can revise accordingly

By the way, I have this working already: https://github.com/tony/.dot-config/blob/7ad23319566b0f74803fbd90f0cfcbcfa68e42a4/.pyvimrc#L57