瀏覽代碼

Add

master
10sr 6 年之前
父節點
當前提交
4340d8f62d
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. +12
    -0
      emacs.el

+ 12
- 0
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


Loading…
取消
儲存