ソースを参照

Add some configurations

master
10sr 4年前
コミット
137642cbb9
署名者: 10sr GPGキーID: 7BEC428194130EB2
1個のファイルの変更13行の追加1行の削除
  1. +13
    -1
      emacs.el

+ 13
- 1
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



読み込み中…
キャンセル
保存