On (10:56 05/05/06), François Pinard <[EMAIL PROTECTED]> put forth the proposition: > [David Woodfall] > > >Just wondered if there was changelog mode for vim as emacs has? > > I use it all the time! Not exactly like Emacs', but very usable > nevertheless. :-) > > To get it going, I added a file ~/.vim/plugin/changelog.vim with: > > > runtime! ftplugin/changelog.vim > let g:changelog_username = 'François Pinard <[EMAIL PROTECTED]>' > > > The first line has the effect of installing the ,o binding, and ,o > allows you to initialize a new ChangeLog entry. The second line is > personal customisation. I also have customisation within files: > > ~/.vim/ftplugin/changelog.vim > ~/.vim/syntax/changelog.vim
I didn't realise that there was already a changelog plugin. Binding seems to be with \o rather than ,o but very usable nonetheless. Thans for the info. > > For the first of these two (in case you ever make one as well for you > own habits), I needed the following lines at start: > > > if &filetype != 'changelog' > finish > endif > > > so to the rest be inhibited when the "runtime!" line above is run. > > -- > François Pinard http://pinard.progiciels-bpi.ca -- Second Law of Business Meetings: If there are two possible ways to spell a person's name, you will pick the wrong one. Corollary: If there is only one way to spell a name, you will spell it wrong, anyway.