vim-gf-python
vim-gf-python copied to clipboard
Plugin to enhance support for vim's 'gf' map in python.
Add python3 support. Can open the file in the new tab or window as the original vim does.
fixes #4
For relative imports, `gf` resolves an import statement such as: ``` from .common.exceptions import MyException ``` into: ``` /common/exceptions ``` and then vim yells saying that it cannot find `/common/exceptions`,...
Two things need to be changed to support py3k: 1. check feature `python3` instead of `python` 2. use `python3
> I have a solution to find things like os.path, but the implementation could be considered unsafe. It would involve attempting to import it, and so depending on what one...