vim-project icon indicating copy to clipboard operation
vim-project copied to clipboard

Switch Project

Open jrock2004 opened this issue 10 years ago • 2 comments

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

jrock2004 avatar Aug 03 '15 15:08 jrock2004

I think you need to use ProjectPath instead of Project

amiorin avatar Aug 03 '15 15:08 amiorin

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

jrock2004 avatar Aug 03 '15 18:08 jrock2004