         (if (not (string-match "/$" name))
             (rename-buffer (concat "*Dired* " name "/") t))))
     (add-hook 'dired-mode-hook #'rename-dired-buffer-name)
+
+    (bind-keys
+     :map dired-mode-map
+     ("<return>"         . dired-single-buffer)
+     ("<double-mouse-1>" . dired-single-buffer-mouse)
+     ("^"                . dired-single-up-directory))
 
     ;; http://oremacs.com/2015/02/21/hydra-docstring-sexp
     (defhydra hydra-dired-marked (dired-mode-map "" :color pink)

;; Time-stamp: <2015-02-23 13:09:53 kmodi>

;; dired, dired-x, dired+, dired-single
;; http://www.emacswiki.org/emacs-en/dired-single.el
;; http://truongtx.me/2013/04/24/dired-as-default-file-manager-1-introduction

(use-package dired
  :defer t
  :config
  (progn
    (setq dired-recursive-deletes 'always)

        ;; omit mode can be toggled using `M-o' in dired buffer
        (setq-default dired-omit-mode t)))

    (defun dired-single-magic-buffer-current-dir ()
      "Open a single magic dired buffer for the current buffer directory."
      (interactive)
      (dired-single-magic-buffer default-directory))

    (defun dired-single-up-directory ()
      (interactive)
      (dired-single-buffer ".."))

    (defun rename-dired-buffer-name ()
      "Rename the dired buffer name to distinguish it from file buffers.
