summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-22 01:11:49 +0000
committerJohn Wiegley <johnw@newartisans.com>2009-01-22 01:11:49 +0000
commitc2b2a6cabf6dc2f4e4c12f9234f978d2d7993cb6 (patch)
tree0ee87da4ea9116f15748a132dc00697ed654924c /lisp/eshell
parentfd94644feb5107df98ad2eaed868ae0ef021a381 (diff)
downloademacs-c2b2a6cabf6dc2f4e4c12f9234f978d2d7993cb6.tar.gz
Patch to change the default binding of C-a to eshell-bol. I don't think it's
actually bound at all by default in eshell; it just falls back to the default binding of C-a.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index 675818539cf..db876d49bf8 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -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"))