Hi Efraim! On Mo, 16 Nov 2009, Efraim Yawitz wrote:
> On Mon, Nov 16, 2009 at 11:51 AM, Christian Brabandt > <[email protected]>wrote: > > You could possibly also try out the persistent undo feature. But for > > this you need to patch the vim source and compile yourself. See > > http://groups.google.com/group/vim_dev/browse_frm/thread/b23d563bffcec9b5 > > for the thread at vim_dev and you might get the source from the > > vim_extended git repository available at > > http://repo.or.cz/w/vim_extended.git (I am not sure, if this feature is > > in that source tree). > > > > This looks very good. Do you have instructions about patching a standard > source tree? (I'm not interested in setting up a SVN tree.) Get all needed libraries. On debian, you would apt-get build-dep vim Now get the source (I did using git): chris...@256bit:~/temp/source$ git clone git://repo.or.cz/vim_mainline.git (Seems there is no feature branch for persistent_undo available at Markus' git repository. Markus, would you mind creating a special branch?) Download the patch from the page above and save it in the vim_mainline directory. cd vim_mainline wget 'http://cache.gmane.org//gmane/editors/vim/devel/24729-001.bin' -O persistent_undo.diff Patch the source: patch -p0 < persistent_undo.diff That's it. Now configure and compile your source: ./configure --with-features=huge --prefix=… ( add additional options here) make && make install run your new vim from the prefix directory (I tend to compile my stuff below ~/local, so I would run ~/local/bin/vim) and read :h undo-persistence Disclaimer: I haven't compiled the patch yet myself, 'cause I do not have a development machine with a recent Internet connection at the moment, so this would be the method, I would use. regards, Christian -- echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq |dc --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
