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

Re: Problems working with bash.



>>>>> Gertjan Klein writes:

  Gertjan> [...] The principle is this: if you have an empty
  Gertjan> commandline and you type the up arrow, you get the previous
  Gertjan> command.  If you've already typed something, you get
  Gertjan> whatever previous command starts with that.  This combines
  Gertjan> the two functions that bash uses (and needs two keys for)
  Gertjan> into one. [...]

The function history-search-backward which I bound to M-p does exactly
this.  (Similar for M-n, history-search-forward.)

kai
-- 
A large number of young women don't trust men with beards.
(BFBS Radio)


Reply to: