From f0585dbdbff4cbf3e20c8e16f13b7fdace483fef Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Fri, 19 May 2017 00:16:17 +0200 Subject: [PATCH] Added centered-cursor-mode --- emacs/.emacs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs b/emacs/.emacs index 10cebd9..75a7f83 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -33,7 +33,7 @@ '(menu-bar-mode nil) '(package-selected-packages (quote - (ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil))) + (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) '(tool-bar-mode nil)) (custom-set-faces @@ -82,6 +82,7 @@ (require 'auto-complete-config) (ac-config-default))) +;; ivy (use-package ivy :ensure t :demand t @@ -91,6 +92,12 @@ (setq ivy-count-format "(%d/%d) ") (define-key ivy-minibuffer-map (kbd "") 'ivy-immediate-done))) +;; Cursor centered +(use-package centered-cursor-mode + :ensure t + :demand t + :config (global-centered-cursor-mode)) + ;; Yasnippet (use-package yasnippet :ensure t