Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgedmin/pytag.vim
Vim plugin: a smarter :tag for Python projects
https://github.com/mgedmin/pytag.vim
Last synced: about 1 month ago
JSON representation
Vim plugin: a smarter :tag for Python projects
- Host: GitHub
- URL: https://github.com/mgedmin/pytag.vim
- Owner: mgedmin
- Created: 2016-09-06T09:07:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T20:16:45.000Z (about 2 months ago)
- Last Synced: 2024-11-09T21:21:15.662Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Overview
--------This plugins provides a smarter ``:tag`` command for Python projects.
Usage::
:Tag name -- jump to a global function
:Tag class.name -- jump to the right class method
:Tag module.class.name -- jump to the right class method
:Tag module.class -- jump to the right class
:Tag package.module.class -- jump to the right class
:Tag package.module -- jump to the right file
:Tag package -- jump to the right fileYou still need a tags file. What ``:Tag`` does is filter the tags according
to containing class/filename.If you want to jump to Python modules and packages, you'll need to generate
your tags file with the ctags option ``--extra=+f``.Installation
------------You need Vim with Python support.
I recommend a plugin manager like vim-plug_ ::
Plug 'mgedmin/pytag.vim'
You may also want to consider the following mapping in
~/.vim/ftplugin/python.vim::" Smarter Ctrl-]
nnoremap pytag#tag_jump_mapping().. _vim-plug: https://github.com/junegunn/vim-plug