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

Re: scrolling trough the argument of a command



Pierre Burri <pierre@globeall.de> writes:

> 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.

Put this into your /etc/inputrc or ~/.inputrc :

# PgUp/Down searches history in bash
"\e[5~":        history-search-backward
"\e[6~":        history-search-forward


[x] ulf

-- 
Der Computer ist die logische Weiterentwicklung des Menschen:
Intelligenz ohne Moral.  (John Osborne)



Reply to: