VI key strokes
VI key strokes
От:
glenn <vmstech@tpg.com.au>
Дата:
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
От:
Rory Campbell-Lange <rory@campbell-lange.net>
Дата:
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