Hi all,

some of you might be aware of the great work Markus Heidelberg
did: He created a git repository which syncs with the latest Vim
sources and also incorporates several useful patches[1]. You can
cherry-pick the ones you like or simply get the whole thing.
For an overview of patches, please look here [2] (not all of them
are in the git repo yet, I think).

Freely adapted from Jason Foreman, this is what you need to do:


# get the sources, etc
git clone git://repo.or.cz/vim_extended.git

cd vim_extended

# create your own branch based on stock vim source
git checkout -b custom origin/vim

# merge the patches you like, for example you could do
git merge origin/relativenumber origin/floating_point

# if you merged origin/lua, you will need to run this:
make -C src autoconf

# configure -- in this case with perl, python & ruby support
./configure --with-features=huge --enable-multibyte --enable-cscope \
--enable-perlinterp --enable-pythoninterp --enable-rubyinterp \
--prefix=/usr/local/vim_extended

# if you merged origin/lua, you will also need to append this
# (if lua is installed in /usr/local)
--enable-luainterp --with-lua-prefix=/usr/local

# build & deploy
make
su -
make install



Please note that there is no official support for this from Bram. The
patches will most likely work and they appear to do so for several
people. However, you might get unlucky and stuff breaks. At worst,
you could lose data. So please be aware of this before going down
this road.
For everyone else, this could prove quite useful.

Richard


[1] http://repo.or.cz/w/vim_extended.git
[2] http://groups.google.com/group/vim_dev/web/vim-patches?pli=1

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to