Thread: VI key strokes

VI key strokes

From
glenn
Date:
Hi - is it possible to set my user interface (psql) to work with vi
keystrokes (like in ksh: set -o vi)?
Thanks
Glenn


Re: VI key strokes

From
Rory Campbell-Lange
Date:
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@tpg.com.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@campbell-lange.net>
<www.campbell-lange.net>