Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

cwood/pysource.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

pysource.vim

Open up python source easily inside of VIM

Mappings

<leader>sft opens up source in a new tab <leader>sfs opens up source in a new split <leader>sfv opens up source in a new vertical split

Commands

If you know the module you want to edit you can use the :PySource command.

Example:

:PySource django.views.generic.list

How-To

When your cursor is on a line such as. from django.views.generic.list import ListView press <leader>sft will open up the list.py file in a new tab. It will also work when the line is import argparse it will show the source for it.

About

Edit/View Python Source from your Environment inside of ViM

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors