Procházet zdrojové kódy

Add some configurations

master
10sr před 4 roky
rodič
revize
137642cbb9
Podepsáno: 10sr ID GPG klíče: 7BEC428194130EB2
1 změnil soubory, kde provedl 13 přidání a 1 odebrání
  1. +13
    -1
      emacs.el

+ 13
- 1
emacs.el Zobrazit soubor

@@ -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



Načítá se…
Zrušit
Uložit