help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: eshell regexp for prompt


From: David Hansen
Subject: Re: eshell regexp for prompt
Date: Sun, 04 Feb 2007 17:17:40 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

On Sun, 04 Feb 2007 06:58:58 +0100 Hadron wrote:

> I basically want "home" to only move cursor to the end of the prompt so
> I have to set eshell-prompt-regexp I think?

(add-hook 'eshell-mode-hook
          #'(lambda ()
              (define-key eshell-mode-map (kbd "<home>") #'eshell-bol)))

David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]