in reply to Re: File::XDG on varying platforms
in thread File::XDG on varying platforms
That's a perceptive question, NERDVANA. I didn't detail that I use both kinds of vim on this computer: the Cygwin build for the console/term, and the Win32 build (GVim) for a gui vim. And fortunately both vims look for the personalization config file in $HOME/.vimrc. So I only have to maintain one .vimrc file, because I break some rules by setting $HOME in Cygwin (.bashrc) to $USERPROFILE =~s{\\} {/}g (pseudocode) (C:/Users/somia). That lets me have just one home directory (not ~ equals /home/somia for Cygwin), and I don't have to struggle with trying to remember which & where when I'm looking for files. So the single .vimrc file is at C:/Users/somia/.vimrc.
I could attempt to edit .vimrc with perl code in this script (note the revised script under "EDIT" in my post), but that just seems like too much work and worry (about messing up a precious config file because I'm not expert enough as a Perl coder - yet).
We got a little bit off-topic here, but I'm glad you asked, Cheers.
May 27, 2025 at 22:15 UTC
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: File::XDG on varying platforms
by NERDVANA (Priest) on May 28, 2025 at 00:25 UTC | |
by Intrepid (Curate) on May 28, 2025 at 02:45 UTC | |
by NERDVANA (Priest) on May 28, 2025 at 23:10 UTC | |
by Intrepid (Curate) on May 29, 2025 at 18:04 UTC | |
Re^3: File::XDG on varying platforms
by jo37 (Curate) on May 28, 2025 at 20:39 UTC |