Re: scrolling trough the argument of a command
On Wed, Jan 29, 2003 at 08:58:31AM +0100, Pierre Burri wrote:
> with another flavour of linux, I can scroll trough the argument of
> bash command with <Page Up> instead of scrolling the whole commands
> (with Arrow Up) saved in the history.
> For example if in the past I have edited with vi the files /etc/hosts,
> /etc/apache/httpd.conf and /etc/samba/smb.conf, I can enter vi and
> then with <Page Up> scroll only the vi commands: /etc/hosts,
> /etc/apache/httpd.conf and /etc/samba/smb.conf.
I've never seen PgUp used that way - perhaps it's some set of default
readline bindings - but try Ctrl-R followed by whatever you're searching
for, then repeatedly hitting Ctrl-R.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: