Hi,
Manfred Lotz wrote: > Dennis Benzinger wrote: >> Am 23.04.2009 10:21, Manfred Lotz schrieb: >>> Hi all, >>> When testing scripts (some have many files) I would like to put them in >>> a directory tree different to ~/.vim to avoid cluttering the ~/.vim tree. >>> >>> >>> How can I expand the runtimepath variable in .vimrc? >> Use the excellent online help and read :help 'runtimepath'. There is an >> example. >> > > I had read it and tried to prepend ~/.vimtest like this > set runtimepath=~/.vimtest,$VIMRUNTIME > > in my ~/.vimrc. > > However, it seemed that $VIMRUNTIME is not the same as runtimepath. > > I couldn't find out how to specify runtimepath instead of $VIMRUNTIME in > above statement. > > set runtimepath=~/.vimtest,runtimepath > didn't do it. if you want to put ~/.vimtest at the start of the runtimepath option use set runtimepath^=~/.vimtest If you want to append it use set runtimepath+=~/.vimtest See also :help set^= :help set+= Regards, Jürgen -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin) --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
