Friday, October 11, 2013

Re: Vim on XP

On Friday, October 11, 2013 9:09:13 AM UTC-5, Paul Isambert wrote:
> Phil Dobbin <phildobbin@gmail.com> a écrit:
>
> > I'm wondering if anybody can point me in the right direction of some
>
> > good online resources for Vim on Windows so I can get up to speed
>
> > quickly with regards to plugins, tips & tricks, etc?
>
>
>
> I don't think there's anything special, except for those plugins that
>
> rely on Python or anything else (I have some Lua code which I can't
>
> use on Windows because it requires a Lua library that I can't install
>
> for some reason). The only thing I can see is to use the Cream
>
> version, which has a full Vim up-to-date for Windows, unlike the Vim
>
> for Windows downloadable from the Vim site, which often lags behind.
>
>
>
> (Note: I don't use many plugins, so perhaps I'm missing something
>
> important.)
>
>

The only "special" thing about Windows is that the config goes in ~/vimfiles instead of ~/.vim. Other than that it should work the same way.

Oh, and gvim works MUCH better than terminal Vim on Windows.

You also need to be aware of the following on Windows:

1. 'shellslash' will let you use forward slashes in many cases, but it can break plugins (because it affects the shellescape() function), break some external commands, and has a few other side effects in some cases
2. Running external commands which include special characters can be very tricky, but without special characters the default settings should work OK. Relevant settings include 'shellxquote', 'shellcmdflags', 'shellxescape', 'shell', and probably a couple others.
3. You'll need to find and install tools like ctags yourself
4. There are problems with the default installed 'diffexpr' function if your installation directory contains spaces, I guess. So if you can't see diffs, take a look there first.

Finally, the "Cream" build currently only has Python 3 interpretor support, and no others. Steve is hoping to fix that soon, but for now if you want Python2 or Perl or whatever you need to build it yourself.

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: