From: Peng Li Date: Sat, 12 Sep 2015 10:04:00 +0000 (+0800) Subject: emacs - add eshell config , disable linum-mode hl current line X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=bad615b63502f55ac9792f6c66640d3908186169;p=dotfiles.git emacs - add eshell config , disable linum-mode hl current line --- diff --git a/emacs.d/config/init-eshell.el b/emacs.d/config/init-eshell.el new file mode 100644 index 0000000..9beb3f8 --- /dev/null +++ b/emacs.d/config/init-eshell.el @@ -0,0 +1,9 @@ + +(add-hook 'eshell-mode-hook + (lambda () + (linum-mode -1) + (highlight-current-line-on nil))) + + + +(provide 'init-eshell) diff --git a/emacs.d/init.el b/emacs.d/init.el index 5b5cc98..dff7a8e 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -26,7 +26,7 @@ (require 'init-key-binding) (require 'init-winner) (require 'init-minibuffer) - +(require 'init-eshell) ;; http://stackoverflow.com/questions/11484225/fix-an-auto-complete-mode-and-linum-mode-annoyance ;;;(ac-linum-workaround)