 
 ;; Enable RET to follow Org links.
 (setq org-return-follows-link t)
-
-;; Does what it says on tin. Save/restore scratch.
-(use-package persistent-scratch
-  :ensure t)
-
-(persistent-scratch-autosave-mode)


(setq ring-bell-function 'ignore)

(use-package ido-vertical-mode
  :ensure t)
(ido-vertical-mode)

(use-package markdown-mode+
  :ensure t)
(autoload 'markdown-mode "markdown-mode"


;; Hide dired details by default.
(add-hook 'dired-mode-hook 'dired-hide-details-mode)
;; Use RET instead of "a" in dired.
(define-key dired-mode-map (kbd "RET") 'dired-find-alternate-file)

;; Use ^ in dired to cd to parent.
(defun ar/dired-cd-to-parent ()
  (interactive)
  (find-alternate-file ".."))
(define-key dired-mode-map (kbd "^") 'ar/dired-cd-to-parent)

(defun ar/find-all-dired-current-dir ()
  "Invokes find-dired for current dir."
