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

Switch Project #12

Open
jrock2004 opened this issue Aug 3, 2015 · 2 comments
Open

Switch Project #12

jrock2004 opened this issue Aug 3, 2015 · 2 comments

Comments

@jrock2004
Copy link

Just came across this plugin and its cool. When I load up vim it lists my projects and I can click one and after 5 - 10 seconds it loads. If I wanted to switch a project I am assume I need to do the following

:Project animal

when I do that, it tells me

E121: Undefined variable: animal
E116: Invalid arguments for function project#config#project

Here is part of my vimrc

let g:project_use_nerdtree = 1
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

Plugin 'gmarik/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'PProvost/vim-ps1'
Plugin 'amiorin/vim-project'

call vundle#end()

filetype plugin indent on

set rtp+=~/.vim/bundle/vim-project/
call project#rc("~/Development")

Project 'greenvalleyhs/wp-content/themes/greenvalleyhs', 'greenvalleyhs'
Project 'work/animal', 'animal'

set tabstop=4

Do I have to end the project, what am I missing? Thanks

@amiorin
Copy link
Owner

amiorin commented Aug 3, 2015

I think you need to use ProjectPath instead of Project

@jrock2004
Copy link
Author

I tried that and when I type :ProjectPath animal and I hit enter and it just sits there

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

No branches or pull requests

2 participants