     (org-html-export-to-html)
     (browse-url (format "file:%s" (expand-file-name
                                    "~/stuff/active/blog/index.html")))))
+
+(use-package flyspell :commands (flyspell-mode-on))
 
 (defun ar/org-mode-hook-function ()
   "Called when entering org mode."


(add-hook 'java-mode-hook #'ar/java-mode-hook-function)

(defun ar/export-blog-to-html ()
  "Export blog to HTML."
  (interactive)

  (bind-key "<tab>" #'helm-execute-persistent-action helm-map) ; rebind tab to do persistent action
  (bind-key "C-i" #'helm-execute-persistent-action helm-map) ; make TAB works in terminal
  (bind-key "C-z" #'helm-select-action helm-map) ; list actions using C-z
  (bind-key "M-p" #'helm-previous-source helm-map)
  (bind-key "M-n" #'helm-next-source helm-map)
  :bind (("C-c i" . helm-imenu)
         ("M-x" . helm-M-x)
         ("M-y" . helm-show-kill-ring)
         ("C-h a" . helm-apropos))
  :commands (helm-buffers-list)
  :ensure t)

(defun ar/projectile-helm-ag ()
