Added centered-cursor-mode

This commit is contained in:
madmaurice 2017-05-19 00:16:17 +02:00
parent f84cf623d3
commit f0585dbdbf

View file

@ -33,7 +33,7 @@
'(menu-bar-mode nil) '(menu-bar-mode nil)
'(package-selected-packages '(package-selected-packages
(quote (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) '(scroll-bar-mode nil)
'(tool-bar-mode nil)) '(tool-bar-mode nil))
(custom-set-faces (custom-set-faces
@ -82,6 +82,7 @@
(require 'auto-complete-config) (require 'auto-complete-config)
(ac-config-default))) (ac-config-default)))
;; ivy
(use-package ivy (use-package ivy
:ensure t :ensure t
:demand t :demand t
@ -91,6 +92,12 @@
(setq ivy-count-format "(%d/%d) ") (setq ivy-count-format "(%d/%d) ")
(define-key ivy-minibuffer-map (kbd "<C-return>") 'ivy-immediate-done))) (define-key ivy-minibuffer-map (kbd "<C-return>") 'ivy-immediate-done)))
;; Cursor centered
(use-package centered-cursor-mode
:ensure t
:demand t
:config (global-centered-cursor-mode))
;; Yasnippet ;; Yasnippet
(use-package yasnippet (use-package yasnippet
:ensure t :ensure t