Wednesday, August 7, 2013

Re: Using Vim on Windows when you don't have admin rights

On Wednesday, August 7, 2013 9:07:57 AM UTC-5, Tristan Strange wrote:
> Ok, I've followed instructions here but now I'm having problems installing pathogen....
>

Followed the instructions where? Pathogen's website tells you how to install, including instructions for Windows: https://github.com/tpope/vim-pathogen

Remember to use "vimfiles" instead of ".vim". The easiest way to figure out where to put your "vimfiles" directory is to ask Vim:

:echo $HOME

That's also the place to put your vimrc file. If you're using Vim 7.3 or earlier, create $HOME\_vimrc. If you're using the 7.4 betas, you can instead put a file called "vimrc" into your new "vimfiles" directory.

>
> When it's present in my autoload folder Vim tells me the following upon startup and none of Vims menus etc. show:
>
>
>
>
> Error detected while processing \\smbhome.uscs.susx.ac.uk\ts296\Desktop\
> vim73\menu.vim:
>
>

A UNC path? I'm not sure Vim will like that very much. Can you try mapping that as a drive and using that in any Vim shortcuts?

> line  156:
>
>
>
> E121: Undefined variable: paste#paste_cmd
>
>
> E15: Invalid expression: 'vnoremenu <script> &Edit.&Paste<Tab>"+gP^I' . 
> paste#paste_cmd['v']
>
>
>
> Can anyone provide details of how to install Pathogen on Windows?
>

This error has nothing to do with Pathogen. Installing Pathogen should only require sticking the file in your autoload directory and adding the line to your vimrc file.

It appears that somehow you've installed Vim without the autoload runtime directory, or you have that directory but your vim73 directory isn't on your runtimepath.

Is there an "autoload" directory under your vim73 directory? Is there a "paste.vim" file inside?

What does ":set runtimepath?" show?

--
--
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: