Skip to content

Instantly share code, notes, and snippets.

@optman
Last active September 19, 2019 07:35
Show Gist options
  • Save optman/fda2a155551d8ae8368fa9df3cc3cf26 to your computer and use it in GitHub Desktop.
Save optman/fda2a155551d8ae8368fa9df3cc3cf26 to your computer and use it in GitHub Desktop.
gen python tags
au FileType python setlocal tags+=~/.vim/tags/pylibs.tags
ctags -R --fields=+l --languages=python --python-kinds=-iv -f ~/.vim/tags/pylibs.tags $(python3 -c "import os, sys; print(' '.join('{}'.format(d) for d in sys.path if os.path.isdir(d)))")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment