From 9b09debefa5702952da07e80ddf0f1b627c5ff6e Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Wed, 4 Oct 2017 22:03:01 +0200 Subject: [PATCH] Some emacs configuration --- emacs/.emacs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs b/emacs/.emacs index c02fe8d..c94359a 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -57,7 +57,7 @@ '(menu-bar-mode nil) '(package-selected-packages (quote - (terminal-here shell-pop swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil))) + (powerline-evil powerline origami projectile terminal-here shell-pop swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil))) '(scroll-bar-mode nil) '(shell-pop-shell-type (quote @@ -179,6 +179,15 @@ ac-source-dictionary)) (global-auto-complete-mode))) +;; folding +(use-package origami + :ensure t + :demand t + :config (progn + (setq origami-show-fold-header t) + (define-key evil-normal-state-map "z" 'origami-toggle-node) + (global-origami-mode))) + ;; ivy (use-package ivy :ensure t