Commit cf7c8463 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(comint-mode-map): Treat C-up, C-down like M-p, M-n.

parent b135a7cf
......@@ -394,6 +394,8 @@ Entry to this mode runs the hooks on `comint-mode-hook'."
(setq comint-mode-map (make-sparse-keymap))
(define-key comint-mode-map "\ep" 'comint-previous-input)
(define-key comint-mode-map "\en" 'comint-next-input)
(define-key comint-mode-map [C-up] 'comint-previous-input)
(define-key comint-mode-map [C-down] 'comint-next-input)
(define-key comint-mode-map "\er" 'comint-previous-matching-input)
(define-key comint-mode-map "\es" 'comint-next-matching-input)
(define-key comint-mode-map [?\A-\M-r] 'comint-previous-matching-input-from-input)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment