* eshell/esh-mode.el (eshell-mode): Fix key bindings.

This commit is contained in:
Leo Liu 2013-06-05 09:19:33 +08:00
parent f1da3c8807
commit 2587b005f0
2 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2013-06-05 Leo Liu <sdl.web@gmail.com>
* eshell/esh-mode.el (eshell-mode): Fix key bindings.
2013-06-04 Leo Liu <sdl.web@gmail.com>
* progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.

View file

@ -326,11 +326,8 @@ and the hook `eshell-exit-hook'."
(if mode-line-elt
(setcar mode-line-elt 'eshell-command-running-string))))
(define-key eshell-mode-map [return] 'eshell-send-input)
(define-key eshell-mode-map [(control ?m)] 'eshell-send-input)
(define-key eshell-mode-map [(control ?j)] 'eshell-send-input)
(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 "\r" 'eshell-send-input)
(define-key eshell-mode-map "\M-\r" 'eshell-queue-input)
(define-key eshell-mode-map [(meta control ?l)] 'eshell-show-output)
(define-key eshell-mode-map [(control ?a)] 'eshell-bol)