Oops! Sorry to have wasted your Time, Dave. It seems I am still on an
old version of dbext (could not find the "let g:dbext_default_profile
= 'usual'" in Version 6.01 of dbext-tutorial help).
I will of course upgrade before asking any more silly questions!
Thank you,
Daren
On Wed, Oct 29, 2008 at 6:00 PM, David Fishburn <[EMAIL PROTECTED]> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---