浏览代码

Add dired-peek-file

master
10sr 3 年前
父节点
当前提交
6788491793
签署人:: 10sr GPG 密钥 ID: 7BEC428194130EB2
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. +10
    -0
      emacs.el

+ 10
- 0
emacs.el 查看文件

@@ -2828,6 +2828,16 @@ Any output will be written to current buffer."
(when peek-file-mode
(kill-buffer))))))

(with-eval-after-load 'dired
(defun dired-peek-file (&rest files)
"Dired `peak-file' FILES."
(interactive (list (dired-get-file-for-visit)))
(message "AAA %S" files)
(dolist (file files)
(peek-file file)))
(defvar dired-mode-map (make-sparse-keymap))
(define-key dired-mode-map "v" 'dired-peek-file))


;;;;;;;;;;;;;;;;;;;;
;; remember-projectile


正在加载...
取消
保存