https://github.com/pyohei/vim-python-jumping
🐍Jump to Python import statement💨
https://github.com/pyohei/vim-python-jumping
python vim vim-plugin
Last synced: 2 months ago
JSON representation
🐍Jump to Python import statement💨
- Host: GitHub
- URL: https://github.com/pyohei/vim-python-jumping
- Owner: pyohei
- License: mit
- Created: 2015-02-27T15:20:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T01:57:03.000Z (almost 8 years ago)
- Last Synced: 2025-05-20T13:11:46.907Z (about 1 year ago)
- Topics: python, vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 1.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Python jumper(Vim plugin)
This is vim plugin which you can jump `import` module file.

## Install
You can run this script to writing `pyohei/vim-python-jumping` on your plugin manager tool.
## Usage
Excecute `;PyImport` on your import statement and jum to module script.
If you want to add this comannd as keymap, add the below command in your `.vimrc`.
```vim
nnoremap :PyImport()
```
## Logic
This script based `PYTHONPATH`.
If you can not jump specific module, please review your `PYTHONPATH`.
But there are some cases that do not read correctly.
(I found the case written in `__init__.py`)
## Licence
* [MIT](https://github.com/tcnksm/tool/blob/master/LICENCE)