On Wed, Oct 29, 2008 at 12:26 PM, Daren Thomas <[EMAIL PROTECTED]> wrote:
>
> Thanks, that did the trick! I could not really find a way to load a
> profile on startup (I guess I'm missing some vim script knowledge
> here...)
>
> What would you put in your .vimrc to execute 'DBSetOption
> profile=MyProfile'? (sure, this *is* very newby...)
>
> I tried:
>
> :DBSetOption profile=MyProfile
> DBSetOption profile=MyProfile
> call DBSetOption('profile=MyProfile')
>
> and some other similar combinations - am I missing something?

Under :h dbext-tutorial when it references the Connection Profiles it
indicates you can do this:

     let g:dbext_default_profile_usual        = 'type=ASA:user=DBA:passwd=SQL'

     let g:dbext_default_profile = 'usual'

By default, all buffers will use 'usual' unless otherwise stated.

Dave

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to