10sr 6 anos atrás
pai
commit
4340d8f62d
Acessado por: 10sr ID da chave GPG: 7BEC428194130EB2
1 arquivos alterados com 12 adições e 0 exclusões
  1. +12
    -0
      emacs.el

+ 12
- 0
emacs.el Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar