Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

You'll find the links from atcroft very helpful, but here's a couple of other Windows tips I use.

Instead of installing Vim in Windows, I tend to use it via PortableApps, which I keep in my dropbox folder. Since this doesn't afford the "Edit in vim" menu option, I just put a shortcut to it in my Send To folder to make it easier to access.

Another thing I do to allow me to use the same vimrc file that I use on other operating systems, I do things like this:

if has("win32") let g:windowsperl=1 else let g:windowsperl=0 let g:perlbrew=1 let g:usrbinperl=0 let g:usrlocalbinperl=0 let g:mcappsperlbrew=0 endif

Then I sort of switch between perls later in the config:

" perform a perl -c when writing a perl buffer " if g:perlbrew == 1 au BufWritePost *.pl,*.pm !/home/aharrison/.vimrc.perl -c "%" elseif g:usrbinperl == 1 au BufWritePost *.pl,*.pm !/usr/bin/perl -c "%" elseif g:usrlocalbinperl == 1 au BufWritePost *.pl,*.pm !/usr/local/bin/perl -c "%" elseif g:mcappsperlbrew == 1 au BufWritePost *.pl,*.pm !/mc/apps/perl/current/bin/perl -c "%" else au BufWritePost *.pl,*.pm !perl -c "%" endif

Other than the vimrc, I don't keep my Windows environment synced with my non-windows environment. Many of my plugins are either not geared towards Windows, or I simply don't care to use them under Windows, so I tend to block them out in my vimrc by wrapping chunks of it in blocks with if !has("win32") or if has("gui_win32").

--
Andy


In reply to Re: Recommended updates to gVim 7.4 on Win 7 for Perl Scripting. by naChoZ
in thread Recommended updates to gVim 7.4 on Win 7 for Perl Scripting. by pmu

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!
  • 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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others about the Monastery: (11)
    As of 2015-07-02 22:07 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (46 votes), past polls