浏览代码

Update

master
10sr 8 个月前
父节点
当前提交
3a3aa13493
共有 1 个文件被更改,包括 9 次插入1 次删除
  1. +9
    -1
      emacs.el

+ 9
- 1
emacs.el 查看文件

@@ -1253,7 +1253,7 @@ THEM are function and its args."
"bfs -type d 2>/dev/null"
"fd --hidden --no-ignore --type directory")
:directory (expand-file-name "~")))
(define-key ctl-x-map "d" 'my-fuzzy-finder-dired)
(define-key ctl-x-map (kbd "C-d") 'my-fuzzy-finder-dired)

;; (set-variable 'fuzzy-finder-default-command "selecta")
;; (set-variable 'fuzzy-finder-default-command "peco")
@@ -2331,6 +2331,14 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; dired

(defun dired-default-directory ()
"Open dired `default-directory'."
(interactive)
(pop-to-buffer (dired-noselect default-directory)))

(define-key ctl-x-map "d" 'dired-default-directory)


(defun my-file-head (filename &optional n)
"Return list of first N lines of file FILENAME."
;; TODO: Fix for janapese text


正在加载...
取消
保存