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


In reply to Re^2: File::XDG on varying platforms by Intrepid
in thread File::XDG on varying platforms by Intrepid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.