On 2011-03-15, Tom Sorensen wrote: > Note that Windows vim will NOT look for ~/.vim by default though -- > this is a bigger issue for those using the same config on Windows and > other platforms. You have to change rtp near the top of your .vimrc. > And, of course, if .vimrc was inside of .vim then it would be an > impossible situation.
I don't think Vim's use of ~/vimfiles on Windows and ~/.vim on Unix should be an issue when using the same configuration on both OSs. Vim automatically sets 'rtp' as needed for either OS. The ~/.vimrc or ~/_vimrc doesn't need to know where plugins are located and the plugins don't need to know, either. Vim would be able to find ~/vimfiles/vimrc or ~/.vim/vimrc as easily as it finds the user's plugins. I'm currently sharing the same configuration among two Windows machines and two Linux machines and the only issue I've had is with the Windows Vim thinking that RCS/*.vim,v files should be sourced as plugins. I don't do any modification of 'rtp'. I also have Cygwin running on one of those Windows boxes and for that, I keep the real plugins in ~/vimfiles and just have a Cygwin symbolic link from ~/.vim to ~/vimfiles. Regards, Gary -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
