David Hansen wrote: > 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 "") #'eshell-bol))) > > David Might as well make it: (add-hook 'eshell-mode-hook #'(lambda () (define-key eshell-mode-map (kbd "") #'eshell-bol) (define-key eshell-mode-map (kbd "C-a") #'eshell-bol))) I'm wondering why this isn't default behavior. Matt