浏览代码

add my-fuzzy-finder-dired

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

+ 10
- 2
emacs.el 查看文件

@@ -1166,6 +1166,13 @@ THEM are function and its args."
(back-to-indentation)))))))
(define-key ctl-x-map "S" 'my-fuzzy-finder-ripgrep-lines)

(defun my-fuzzy-finder-dired ()
"Fuzzy finder directory."
(interactive)
(fuzzy-finder :input-command "fd --hidden --no-ignore --type directory"
:directory (expand-file-name "~")))
(define-key ctl-x-map "d" 'my-fuzzy-finder-dired)

;; (set-variable 'fuzzy-finder-default-command "selecta")
;; (set-variable 'fuzzy-finder-default-command "peco")
;; (set-variable 'fuzzy-finder-default-command "percol")
@@ -1664,8 +1671,9 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
;; (when (fboundp 'flycheck-black-check-setup)
;; (flycheck-black-check-setup)))

(when (fboundp 'ilookup-open-word)
(define-key ctl-x-map "d" 'ilookup-open-word))
;; (when (fboundp 'ilookup-open-word)
;; (define-key ctl-x-map "d" 'ilookup-open-word)
;; )

(set-variable 'ac-ignore-case nil)



正在加载...
取消
保存