Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting instructions for .vimrc configuration on Windows #469

Open
realuser opened this issue May 3, 2014 · 6 comments
Open

Conflicting instructions for .vimrc configuration on Windows #469

realuser opened this issue May 3, 2014 · 6 comments
Labels

Comments

@realuser
Copy link

realuser commented May 3, 2014

I'm trying to get Vundle setup on windows 7 with vim 7.4. I confused about the instructions. They say:

From here, go to step 3 in the quick start and copy the
sample config of Vundle into the _vimrc file. Importantly,
you must change the text below...

set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

into

set rtp+=~/vimfiles/bundle/vundle/
let path='~/vimfiles/bundle'
call vundle#rc(path)

However, the sample .vimrc does not actually have the line set rtp+=~/.vim/bundle/vundle/ nor does it have call vundle#rc(). Instead it has:

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

So which syntax should I be using on windows? And if I should use the call vundle#rc() syntax do I need the call vundle#end() that is shown at the end of the sample .vimrc?

@lucc
Copy link
Contributor

lucc commented May 3, 2014

You found the correct lines. The instructions for windows have not yet been updated.

The important part is to use "vimfiles" instead off ".vim" in these lines.

You can also use vundle#begin but you need to use the path argument.

@lucc
Copy link
Contributor

lucc commented May 3, 2014

I just updated the wiki page. @starcraftman can you have a look at it please?

@jdevera jdevera added docs and removed docs labels May 3, 2014
@realuser
Copy link
Author

realuser commented May 4, 2014

Thanks for the quick fix. I tried it and it seems to be working now. One more small discrepancy; in the non-windows instructions you have:

set rtp+=~/.vim/bundle/Vundle.vim

While in the Windows instructions you have:

set rtp+=~/.vim/bundle/Vundle.vim/

Note the trailing slash on the windows version. Not sure if this is intentional or not.

@lucc
Copy link
Contributor

lucc commented May 8, 2014

close?

@realuser
Copy link
Author

realuser commented May 8, 2014

Sure you can close it but the trailing slash question is still unanswered. Do you have any input on that? Thanks

@lucc
Copy link
Contributor

lucc commented May 8, 2014

I don't have windows. If you have, you can test the instructions with and without the slash and then report back or update the wiki yourself (it's a wiki 😄 )

Else we can wait for @starcraftman, he is the official windows tester. I can't close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants