From fee264ecadf084f1099416641aadc0305544095c Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 13 Mar 2019 18:26:57 +0900 Subject: [PATCH] Do not bind fzf to key --- emacs.el | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/emacs.el b/emacs.el index 90b6401..6bc7166 100644 --- a/emacs.el +++ b/emacs.el @@ -731,14 +731,15 @@ found, otherwise returns nil." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; file handling -'(when (autoload-eval-lazily 'fzf) - ;; Too slow! - ;; (set-variable 'fzf/executable "sk") - ;; (set-variable 'fzf/args "--color bw --print-query") - ;; Modified from hardcoded default to include directories - (let ((defcmd "set -o pipefail; command find -L . -mindepth 1 \\( -path '*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune -o -print 2> /dev/null | cut -b3-")) - (setenv "FZF_DEFAULT_COMMAND" defcmd)) - (define-key ctl-x-map (kbd "C-f") 'fzf)) +(when (autoload-eval-lazily 'fzf) + ;; Too slow! + ;; (set-variable 'fzf/executable "sk") + ;; (set-variable 'fzf/args "--color bw --print-query") + ;; Modified from hardcoded default to include directories + (let ((defcmd "set -o pipefail; command find -L . -mindepth 1 \\( -path '*/\\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune -o -print 2> /dev/null | cut -b3-")) + (setenv "FZF_DEFAULT_COMMAND" defcmd)) + ;; (define-key ctl-x-map (kbd "C-f") 'fzf) + ) (when (safe-require-or-eval 'recently) (recently-mode 1))