From 359f13ac61ee3c8e517e891726f9a5ba0b78b07f Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 4 Feb 2019 20:21:22 +0100 Subject: [PATCH] Eshell: Add history bindings --- evil-collection-eshell.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/evil-collection-eshell.el b/evil-collection-eshell.el index 3dedb8f..4f75b16 100644 --- a/evil-collection-eshell.el +++ b/evil-collection-eshell.el @@ -24,7 +24,7 @@ ;; see . ;;; 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 "") 'eshell-send-input (kbd "C-c C-c") 'evil-collection-eshell-interrupt-process) (evil-collection-define-key 'insert 'eshell-mode-map