From 4340d8f62d1f17aeb1d6c2ec18f870b25bb68970 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 28 Sep 2018 18:46:46 +0900 Subject: [PATCH] Add --- emacs.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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