瀏覽代碼

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)



Loading…
取消
儲存