Update a pip requirement with ViM
Need to update a requirement in vim. Dont want to copy the output for pip freeze or replace the file with the output for pip freeze.
In ViM select the line you want to update. With V
123 | django==1.3.1
Then go to command mode with :
<, >!pip freeze | grep django==
This will then update the requirement too
django==1.4.5
Written by Colin Wood
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#