[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scrolling trough the argument of a command



On Wednesday 29 January 2003 08:58, 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. 
> How can I do that with Debian?
> Thanks a lot for any help.
> Pierre

I have the following in my .inputrc

"\C-f": history-search-forward
"\C-b": history-search-backward

Does what you want, but not for the keys you want.
I think it should be possible to remap the Page-Keys as well.

HTH, Michael



Reply to: