Re: VI key strokes

From: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
To: glenn <vmstech(at)tpg(dot)com(dot)au>
Cc: Postgresql Novice List <pgsql-novice(at)postgresql(dot)org>
Subject: Re: VI key strokes
Date: 2003-08-13 09:45:44
Message-ID: 20030813094544.GC23600@campbell-lange.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Yes. As pgsql has readline support, make a ~/.inputrc file with the
following line:

set editing-mode vi

You will find a number of other programs, such as lftp and R enjoy vi
keystrokes too, through their support of readline!

Cheers
Rory

On 13/08/03, glenn (vmstech(at)tpg(dot)com(dot)au) wrote:
> Hi - is it possible to set my user interface (psql) to work with vi
> keystrokes (like in ksh: set -o vi)?

--
Rory Campbell-Lange
<rory(at)campbell-lange(dot)net>
<www.campbell-lange.net>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message P.Harikrishnan 2003-08-13 13:55:20 pqgetresultset problem
Previous Message jun queano 2003-08-13 09:03:39 Re: error: table does not exist