From 5fc3218f4bafee4d8dc922d669e293b64d1e428a Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 10 Oct 2016 20:36:10 +0200 Subject: [PATCH] Move eshell configuration to use-package --- init.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index fc86737..8e849b4 100644 --- a/init.el +++ b/init.el @@ -219,6 +219,11 @@ ("C-<" . mc/mark-previous-like-this) ("C-c C-<" . mc/mark-all-like-this))) +(use-package eshell + :config + (add-hook 'eshell-mode-hook + (lambda () (local-set-key (kbd "C-d") #'eshell-C-d)))) + ;; Save place (use-package saveplace :config @@ -428,10 +433,6 @@ (187 171) ; »« )) -;; Setup eshell -(add-hook 'eshell-mode-hook - (lambda () (local-set-key (kbd "C-d") #'eshell-C-d))) - ;; Stuff to do after initialization is done ;; TODO: Unordered stuff