|
@@ -763,13 +763,13 @@ found, otherwise returns nil." |
|
|
"echo ..; " |
|
|
"echo ..; " |
|
|
"command fd " |
|
|
"command fd " |
|
|
"--follow --hidden --no-ignore " |
|
|
"--follow --hidden --no-ignore " |
|
|
;; "--color always " |
|
|
|
|
|
|
|
|
"--color always " |
|
|
"2>/dev/null"))) |
|
|
"2>/dev/null"))) |
|
|
(if (executable-find "fd") |
|
|
(if (executable-find "fd") |
|
|
(setenv "FZF_DEFAULT_COMMAND" fdcmd) |
|
|
(setenv "FZF_DEFAULT_COMMAND" fdcmd) |
|
|
(setenv "FZF_DEFAULT_COMMAND" findcmd))) |
|
|
(setenv "FZF_DEFAULT_COMMAND" findcmd))) |
|
|
(set-variable 'fzf/window-height 45) |
|
|
(set-variable 'fzf/window-height 45) |
|
|
(set-variable 'fzf/args "--print-query --ansi --inline-info --cycle") |
|
|
|
|
|
|
|
|
(set-variable 'fzf/args "--print-query --ansi --color='bg+:-1' --inline-info --cycle") |
|
|
|
|
|
|
|
|
(defun my-fzf-or-find-file () |
|
|
(defun my-fzf-or-find-file () |
|
|
"Call fzf if usable or call find-file." |
|
|
"Call fzf if usable or call find-file." |
|
|