use vi mode in psql

Поиск
Список
Период
Сортировка
Искать

use vi mode in psql

От:
Rory Campbell-Lange <rory@campbell-lange.net>
Дата:
Is it possible to use bash vi keystrokes to navigate psql? I could have
sworn that this was working for me, but now I can't reactivate it!

-- 
Rory Campbell-Lange 


Re: use vi mode in psql

От:
Rory Campbell-Lange <rory@campbell-lange.net>
Дата:
I now know the answer!

Set your dot file for readline (.inputrc) with the following line:

	set editing-mode vi

Great to have an easily searchable history in psql...!

On 23/05/02, Rory Campbell-Lange (rory@campbell-lange.net) wrote:
> Is it possible to use bash vi keystrokes to navigate psql? I could have
> sworn that this was working for me, but now I can't reactivate it!

-- 
Rory Campbell-Lange 


FAQ