On Mon, Aug 13, 2018 at 03:32:21PM +0200, Laurenz Albe wrote: > hubert depesz lubaczewski wrote: > > I'm trying to work on some extension to vim when invoked as \e from > > psql. > > > > To make it fully work, I need to know connection details that psql was > > using while it invoked \e. > > > > Is it possible to do in any way, or if not, any chance it could be added > > to wishlist for next versions of Pg? > > Do you mean something like \set? Something like this, but automatically sent "somehow" to editor when I run \e. Best regards, depesz