From: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
---|---|
To: | 'Hans Ginzel *EXTERN*' <Hans(at)matfyz(dot)cz>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: psql readline Tab insert tab |
Date: | 2015-05-26 09:32:17 |
Message-ID: | A737B7A37273E048B164557ADEF4A58B36615F6C@ntex2010i.host.magwien.gv.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-novice |
Hans Ginzel wrote:
> how to make psql (readline) to insert tab when Tab is pressed? E.g. for
> pasting. I know, there is -n option. But then the history is not
> accessible.
>
> I have tried
> $if psql
> Control-I: "\t"
> Control-A: complete
> $endif
> in my ~/.inputrc. But when I press Tab psql freezes until I press Ctrl+C.
Probably an endless loop.
It could be done by adding the following lines to your ~/.inputrc file:
$if Psql
TAB: tab-insert
$endif
Yours,
Laurenz Albe
From | Date | Subject | |
---|---|---|---|
Next Message | CK Tan | 2015-05-26 09:59:53 | Re: Order of columns in query is important?! |
Previous Message | Paul Smith | 2015-05-26 09:28:43 | Re: ERROR: MultiXactId xxxx has not been created yet -- apparent wraparound |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2015-05-27 18:35:33 | Re: [Postgresql NLS support] : Help on using NLS , Custom dictionary to enhance our website search functionality |
Previous Message | Hans Ginzel | 2015-05-26 08:57:53 | psql readline Tab insert tab |