Kaynağa Gözat

Update fuzzy-finder vars

master
10sr 4 yıl önce
ebeveyn
işleme
651c210055
İmzalayan: 10sr GPG Anahtar Kimliği: 7BEC428194130EB2
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. +5
    -5
      emacs.el

+ 5
- 5
emacs.el Dosyayı Görüntüle

@@ -416,7 +416,7 @@ Otherwize hook it."
(setq-default major-mode 'text-mode)
(setq next-line-add-newlines nil)
(setq kill-read-only-ok t)
(setq truncate-partial-width-windows nil) ; when splitted horizontally
;; (setq truncate-partial-width-windows nil) ; when splitted horizontally
;; (setq-default line-spacing 0.2)
(setq-default indicate-empty-lines t) ; when using x indicate empty line
;; (setq-default tab-width 4)
@@ -1096,9 +1096,9 @@ THEM are function and its args."

;; fuzzy-finder

(set-variable 'fuzzy-finder-default-command
(concat "fzf "
"--ansi "
(set-variable 'fuzzy-finder-executable "fzf")
(set-variable 'fuzzy-finder-default-arguments
(concat "--ansi "
"--color='bg+:-1' "
"--inline-info "
"--cycle "
@@ -1163,7 +1163,7 @@ THEM are function and its args."
(find-file (plist-get result :file))
(when (plist-get result :linenumber)
(goto-char (point-min))
(forward-line (- (string-to-number (plist-get result :linenumber)) 1))
(forward-line (1- (string-to-number (plist-get result :linenumber))))
(back-to-indentation)))))))
(define-key ctl-x-map "S" 'my-fuzzy-finder-ripgrep-lines)



Yükleniyor…
İptal
Kaydet