Explorar el Código

Add dired map

master
10sr hace 6 años
padre
commit
77c5c0af69
Firmado por: 10sr ID de clave GPG: 7BEC428194130EB2
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. +5
    -2
      emacs.el

+ 5
- 2
emacs.el Ver fichero

@@ -1251,7 +1251,7 @@ found, otherwise returns nil."
(set-variable 'recentf-show-file-shortcuts-flag nil)
(set-variable 'recentf-auto-cleanup 3)

(safe-require-or-eval 'sync-recentf)
;; (safe-require-or-eval 'sync-recentf)

(when (safe-require-or-eval 'recentf)
(add-to-list 'recentf-exclude
@@ -1422,9 +1422,9 @@ ARG is num to show, or defaults to 7."
)
(setq dired-listing-switches "-lhF")

(put 'dired-find-alternate-file 'disabled nil)
;; when using dired-find-alternate-file
;; reuse current dired buffer for the file to open
;; (put 'dired-find-alternate-file 'disabled nil)
(set-variable 'dired-ls-F-marks-symlinks t)

(set-variable 'ls-lisp-use-insert-directory-program nil) ; always use ls-lisp
@@ -1994,6 +1994,9 @@ use for the buffer. It defaults to \"*recetf-show*\"."
)

(define-key ctl-x-map (kbd "C-l") 'my-dired-git-ls-files)
(with-eval-after-load 'dired
(defvar dired-mode-map (make-sparse-keymap))
(define-key dired-mode-map "f" 'my-dired-git-ls-files))

;; (define-minor-mode my-dired-glob-filter)



Cargando…
Cancelar
Guardar