|
From: Earnie B. <ea...@us...> - 2006-08-30 12:21:19
|
Quoting Keith MARSHALL <kei...@to...>: > > bind '"\e[A":history-search-backward' > bind '"\e[B":history-search-forward' > > to emulate the history search behaviour of the `4DOS' shell I used > at one time with MS-DOS: type the first few characters of a command, > then use <Cursor-Up> and <Cursor-Down> to find and replay matching > commands in the history. > I like to set my command mode vi style ``set -o vi'' and then use ``<esc>/stringToSearch'' to enter search mode. I can then use ``n'' to search forward and ``N'' to search reverse. You can even use the <esc> key to enter a substitution command. Earnie Boyd http://shop.siebunlimited.com |