| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: psql command line editing |
| Date: | 2025-02-12 20:29:35 |
| Message-ID: | 4e1966c1-1f24-47e5-9c87-8cf466216b6b@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 2/12/25 12:03, Ron Johnson wrote:
> On Wed, Feb 12, 2025 at 2:29 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us
> <mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>> wrote:
> There's got to be something in your shell config which says "use emacs
> keys" instead of "use vi keys".
From man readline:
"By default, the line editing commands are similar to those of emacs. A
vi-style line editing interface is also available."
To change from the default would involve setting editing-mode in
/etc/inputrc or ~/.inputrc.
>
> --
> Death to <Redacted>, and butter sauce.
> Don't boil me, I'm still alive.
> <Redacted> lobster!
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Marcelo Fernandes | 2025-02-12 20:57:36 | Best Approach for Swapping a Table with its Copy |
| Previous Message | Ron Johnson | 2025-02-12 20:03:53 | Re: psql command line editing |