From 137642cbb9bb765894c900bed27a40ccab5dfca0 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Sun, 16 Aug 2020 01:20:24 +0900 Subject: [PATCH] Add some configurations --- emacs.el | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 063ea88..3b26e01 100644 --- a/emacs.el +++ b/emacs.el @@ -1103,6 +1103,7 @@ THEM are function and its args." "--inline-info " "--cycle " "--reverse " + "--multi " "--prompt=\"[`pwd`]> \" ")) (set-variable 'fuzzy-finder-default-input-command @@ -1130,6 +1131,12 @@ THEM are function and its args." "| " "cut -b3-")))) +(add-hook 'fuzzy-finder-init-hook + (lambda () + (when (and (boundp 'company-mode) + company-mode) + (company-mode -1)))) + (defun my-fuzzy-finder-or-find-file () "Call `fuzzy-finder' if usable or call `find-file'." (declare (interactive-only t)) @@ -1159,7 +1166,12 @@ THEM are function and its args." (back-to-indentation))))))) (define-key ctl-x-map "S" 'my-fuzzy-finder-ripgrep-lines) -;; (fuzzy-finder :command "selecta") +;; (set-variable 'fuzzy-finder-default-command "selecta") +;; (set-variable 'fuzzy-finder-default-command "peco") +;; (set-variable 'fuzzy-finder-default-command "percol") +;; (set-variable 'fuzzy-finder-default-command "fzy") +;; (set-variable 'fuzzy-finder-default-command "sk --ansi --no-hscroll --reverse") +;; (set-variable 'fuzzy-finder-default-command "pick") ;; recently