瀏覽代碼

Use swoop via C-s

master
10sr 5 年之前
父節點
當前提交
269304802a
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      emacs.el

+ 3
- 3
emacs.el 查看文件

@@ -2216,9 +2216,6 @@ and search from projectile root (if projectile is available)."
(thing-at-point 'symbol t))))
(occur regexp nil region))
(define-key ctl-x-map (kbd "C-o") 'my-occur)
;; (when (fboundp 'swoop)
;; (define-key ctl-x-map (kbd "C-o") 'swoop)
;; )

(set-variable 'dumb-jump-prefer-searcher 'rg)

@@ -2374,6 +2371,9 @@ Any output will be written to current buffer."
;; (counsel-fzf)))))
)

(when (require 'swoop nil t)
(global-set-key (kbd "C-s") 'swoop))

;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; flycheck-checker: emacs-lisp


Loading…
取消
儲存