cjrh/vim-conda

Suppress Message on Startup

machbio opened this issue · 5 comments

Is there a way to suppress the following message that is printed on startup -

Conda env deactivated.
Activated env: py33
Press ENTER or type command to continue

It will help, if there was an option that I can define in the .vimrc file to hide/display the message.

cjrh commented

Great idea! If you make a PR for this I'll merge it 👍

I have no experience with vim plugins - have you used any vim variable - so I can follow suit and make the changes.

@cjrh I have added the pull request #17 for suppressing the message

cjrh commented

I've merged the PR. I've also created a new file in the root called CONTRIBUTORS, and I've added your name. I hope that's ok. If not I can remove it, just let me know.

Thanks again!

I had a similar message while starting vim. The following command got rid of the message for me.
source deactivate Conda_Environment_Name

However my $PYTHON3_PATH is set to the conda environment in .bashrc and .profile, so autocomplete plugins like jedi-vim work without any hassles. Hope this helps.