Javier López

vim autocompletion in debian/changelog

11 Mar 2012

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

Originally published at viajemotu.wordpress.com