                               evil-surround
                               evil-exchange
                               nlinum-relative
+                              save-visited-files
                               counsel
                               projectile
                               company

(advice-add #'evil-substitute :around #'evil-without-register)
(advice-add #'evil-backward-substitute :around #'evil-without-register)

;; order is important
(ivy-mode 1)
(evil-mode 1)
(save-place-mode 1)
(recentf-mode 1)
(projectile-mode 1)
(desktop-save-mode 1)
(show-paren-mode 1)
(blink-cursor-mode 0)
(set-frame-font "Dejavu Sans Mono 11" nil t)

;; real number for current line
;; relative number for the other line
(setq nlinum-relative-redisplay-delay 0.01)

(setq save-visited-files-location (locate-user-emacs-file ".visited-files")
      ;; save-visited-files-ignore-directories nil
      )

;; ivy
(setq ivy-wrap t
