瀏覽代碼

Fix

master
10sr 5 年之前
父節點
當前提交
e369861f39
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. +6
    -1
      emacs.el

+ 6
- 1
emacs.el 查看文件

@@ -738,7 +738,12 @@ found, otherwise returns nil."
;; (set-variable 'fzf/executable "sk")
;; (set-variable 'fzf/args "--color bw --print-query")
;; Modified from hardcoded default to include directories, hidden files, and root directory
(let ((defcmd "set -o pipefail; command find -L . \\( -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune -o -print 2> /dev/null"))
(let ((defcmd (concat "set -o pipefail; "
"command find -L . "
"\\( -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune "
"-o -print 2> /dev/null "
"| "
"sed -e 's|\\./||'")))
(setenv "FZF_DEFAULT_COMMAND" defcmd))
;; (define-key ctl-x-map (kbd "C-f") 'fzf)
)


Loading…
取消
儲存