changelog : Create ChangeLog entry fast
script karma |
Rating 0/4,
Downloaded by 695 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Roman Joost |
|
script type |
utility |
|
description |
The python script creates automatically a ChangeLog entry (GNU style).
|
|
install details |
1. Create a directory python_plugins in your vim home and add the script.
2. Configure the script by setting the following python trickery up in
your $Home/.vimrc (thought thats an example!):
py << PY
import vim
import sys
# set the system path to the new directory
sys.path.append('/home/roman/.vim/python-plugins')
# now we can import the python module
from utils import *
# set the variables (you may want to leave alone the cvs_command and
# svn_command
name = \"Roman Joost\"
email = \"<romanofski@gimp.org>\"
cvs_command = 'cvs update -dP 2>&1 | grep -v \"Updating\"'
svn_command = 'svn st'
PY
3. You may want to bind the script to a key like:
map <F2> :py make_cl_entry(name, email, cvs_command, svn_command)<CR> |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.222.226.47
|