]> git.eshelyaron.com Git - emacs.git/commitdiff
Patch to change the default binding of C-a to eshell-bol. I don't think it's
authorJohn Wiegley <johnw@newartisans.com>
Thu, 22 Jan 2009 01:11:49 +0000 (01:11 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Thu, 22 Jan 2009 01:11:49 +0000 (01:11 +0000)
actually bound at all by default in eshell; it just falls back to the default
binding of C-a.

lisp/eshell/esh-mode.el

index 675818539cf5df14d306810e97ad96d41197b8b7..db876d49bf845591c9d87b83fd8a3b0acd665653 100644 (file)
@@ -316,6 +316,7 @@ This is used by `eshell-watch-for-password-prompt'."
   (define-key eshell-mode-map [(meta return)] 'eshell-queue-input)
   (define-key eshell-mode-map [(meta control ?m)] 'eshell-queue-input)
   (define-key eshell-mode-map [(meta control ?l)] 'eshell-show-output)
+  (define-key eshell-mode-map [(control ?a)] 'eshell-bol)
 
   (set (make-local-variable 'eshell-command-prefix)
        (make-symbol "eshell-command-prefix"))