On Mon, 14 Mar 2011, Peter Odding wrote:
Hi Alex,
Problem is that some people like my wish for a native solution)))
$VIMRUNTIME is fun, but there already is $XDG_CONFIG_HOME for all.
The freedesktop.org initiative was launched in 2000 while Vim was
originally released in 1991 and the freedesktop.org initiative only
applies to a small percentage of Vim users because Vim has been ported
to dozens of platforms. Why do you feel the default Vim configuration
should respect $XDG_CONFIG_HOME? (or am I misinterpreting you?)
I took it to mean that there should be an easy way to configure Vim (at
compile time) to default to using $XDG_CONFIG_HOME directories. I sent
a patch to that effect (minus the configuration portion -- wasn't sure
if it made more sense to call it --with-xdg-directories or
--enable-xdg-directories -- probably the latter?).
As to the initial problem, I'm pretty sure there's a way to configure it
to use $XDG_CONFIG_HOME already, but it seems better to have a way to
"bundle" those options, since more and more Linux distros are moving
toward these recommendations.
But, I agree 100% that it should *not* be the default configuration.
Alex, you might try doing something like what my patch is doing in code,
if you want this now. Something along the lines of:
$ CPP_FLAGS="-DUSR_VIMRC_FILE=\"\$XDG_CONFIG_HOME/vim/vimrc\"
-DUSR_EXRC_FILE=\"\$XDG_CONFIG_HOME/vim/exrc\"" ./configure [various options] && make
--
Best,
Ben
--
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