 (require 'evil-magit)
 (require 'general)
 
-(defun my-default-cursor()  "Cursor color indicates mode: white = Emacs, green = evil (Vi/Vim)."
-       (if (string= (symbol-value 'evil-state) "normal")
-           (set-cursor-color "green")
-         (set-cursor-color "white")))
+(defun my-default-cursor()
+  "Cursor color indicates mode: white = Emacs, green = evil (Vi/Vim)."
+  (if (string= (symbol-value 'evil-state) "normal")
+      (set-cursor-color "green")
+      (set-cursor-color "white")))
 
 (evil-mode 1)
 (evil-collection-init)


  (dolist (map  (list minibuffer-local-isearch-map))
    (define-key map (kbd "n") 'isearch-printing-char))
  (global-set-key [escape] 'evil-exit-emacs-state)

  (define-key evil-normal-state-map (kbd "C-k") (lambda () (interactive) (evil-scroll-up nil)))

  (package-refresh-contents))

(setq my-required-packages '(evil evil-collection evil-magit
                                  fill-column-indicator general
                                  hide-mode-line
                                  org-beautify-theme org-bullets
                                  org-gcal org-pdfview
                                  org-present powerline
                                  racket-mode smart-mode-line
                                  smart-mode-line-powerline-theme
                                  ssh-agency use-package
                                  yafolding))
(dolist (package my-required-packages)
  (unless (package-installed-p package)
    (package-install package)))
