Vim autocompletion in debian/changelog

Standard

So I was testing hooks functionality in pbuilder, and from one link to another I found that vim (at least the vim version that comes with Ubuntu) is able to autocomplete LP: # bugs!

To use it:

$ vim debian/changelog or $ dch -i

And then in “LP: #” press Ctrl-x Ctrl-o and it will provide with a list of open bugs of the current package =)

Image

Seems like it’s been a while since this little hack was made:

http://www.chiark.greenend.org.uk/ucgi/~cjwatson/blosxom/2008/01/31#2008-01-31-vim-lpbug-omnicomplete

http://tinyurl.com/7es2j48

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s