From d9715409b2696a2645500f9d8d311c7c01a61f7e Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 6 Jun 2019 16:18:34 +0900 Subject: [PATCH] Add swoop --- emacs.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs.el b/emacs.el index e613e2a..60e3a73 100644 --- a/emacs.el +++ b/emacs.el @@ -145,6 +145,7 @@ found, otherwise returns nil." fic-mode term-cursor pydoc + swoop editorconfig editorconfig-custom-majormode @@ -2173,6 +2174,9 @@ 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)