Hi Johann, The auto-formatting functionality looks great!
Since my code didn't copy too well, I have put it into a pastie if you would like to use it. http://pastie.org/1143951 -Chad On Sep 7, 11:19 am, Johann Klähn <[email protected]> wrote: > Hi Chad, > > Excerpts from Chad Voegele's message of 2010-09-07 05:41:45 +0200: > > > I have written a Vim function to clear transactions in a ledger file. > > I thought I would share it in case anyone might find it useful. It is > > my first Vim script attempt so it may not be perfect. I would > > appreciate any feedback! > > I will soon incorporate this or similar functionality > into my fork of the contrib/vim directory. > (possibly adding text-objects for transactions on the way) > If anybody is interested I updated it to support vim's formatprg > auto-formatting via ledger print:http://github.com/kljohann/ledger/tree/vim > > Johann
