[up] and [down] in shell to go to cycle through previous commands

This commit is contained in:
Rich Alesi 2015-03-25 23:04:35 -07:00 committed by syl20bnr
parent f5ea72e365
commit 7ccf15c526

View file

@ -303,6 +303,11 @@ Ensure that helm is required before calling FUNC."
;; google translate -----------------------------------------------------------
(evil-leader/set-key
"xgl" 'set-google-translate-languages)
;; shell ----------------------------------------------------------------------
(eval-after-load "shell"
'(progn
(evil-define-key 'insert comint-mode-map [up] 'comint-previous-input)
(evil-define-key 'insert comint-mode-map [down] 'comint-next-input)))
;; ---------------------------------------------------------------------------
;; Micro-states