Skip to content

:DB hangs in GVim when attempting to open interactive console #51

@dexterous

Description

@dexterous

Per README, if only connection URL is provided and SQL string / file is omitted, it should spawn an interactive console. However, when executed in GVim, the Vim just locks up.

I have tpope/vim-dispatch installed and running...

Start postgresql://...

... does open psql in interactive mode (albeit) within the Ex bar.

With a little experimentation, I found that taking off the silent at https://github.com/tpope/vim-dadbod/blob/master/autoload/db.vim#L206

silent execute 'Start' escape(cmd, '%#')

... does the trick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions