Eshell: Add history bindings

This commit is contained in:
Pierre Neidhardt 2019-02-04 20:21:22 +01:00
parent 200c036b51
commit 359f13ac61
1 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,7 @@
;; see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; Evil bindings for EMMS
;; Evil bindings for Eshell.
;;; Code:
(require 'em-prompt)
@ -68,6 +68,9 @@
(kbd "M-h") 'eshell-backward-argument
(kbd "M-l") 'eshell-forward-argument
(kbd "C-n") 'eshell-next-matching-input-from-input
(kbd "C-p") 'eshell-previous-matching-input-from-input
(kbd "<return>") 'eshell-send-input
(kbd "C-c C-c") 'evil-collection-eshell-interrupt-process)
(evil-collection-define-key 'insert 'eshell-mode-map