Re: psql command line editing - Mailing list pgsql-general

From Adrian Klaver
Subject Re: psql command line editing
Date
Msg-id 4e1966c1-1f24-47e5-9c87-8cf466216b6b@aklaver.com
Whole thread Raw
In response to Re: psql command line editing  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: psql command line editing
List pgsql-general
On 2/12/25 12:03, Ron Johnson wrote:
> On Wed, Feb 12, 2025 at 2:29 PM Tom Lane <tgl@sss.pgh.pa.us 
> <mailto:tgl@sss.pgh.pa.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.klaver@aklaver.com




pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: psql command line editing
Next
From: Marcelo Fernandes
Date:
Subject: Best Approach for Swapping a Table with its Copy