diff --git a/emacs.el b/emacs.el index 6704bb0..6399381 100644 --- a/emacs.el +++ b/emacs.el @@ -1496,6 +1496,8 @@ ARG is num to show, or defaults to 7." (with-eval-after-load 'dired (define-key dired-mode-map "a" 'dired-list-all-mode)))) +(define-key ctl-x-map "f" 'find-dired) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; misc funcs @@ -1976,6 +1978,16 @@ use for the buffer. It defaults to \"*recetf-show*\"." (or (file-name-directory f) "."))))) +;;;;;;;;;;;;;;;;;;;;;; + +;; It works! +;; (pop-to-buffer (dired-noselect '("." "shrc" "emacs.el"))) + +(defun my-dired-from-git-ls-files () + "Dired from git ls-files." + (interactive) + (dired ".")) + ;; Local Variables: ;; flycheck-disabled-checkers: (emacs-lisp-checkdoc) ;; flycheck-checker: emacs-lisp