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:
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 "%"
au BufWritePost *.pl,*.pm !perl -c "%"
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").
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||