Browse Source

Add swoop

master
10sr 5 years ago
parent
commit
d9715409b2
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el View File

@@ -145,6 +145,7 @@ found, otherwise returns nil."
fic-mode fic-mode
term-cursor term-cursor
pydoc pydoc
swoop


editorconfig editorconfig
editorconfig-custom-majormode editorconfig-custom-majormode
@@ -2173,6 +2174,9 @@ and search from projectile root (if projectile is available)."
(thing-at-point 'symbol t)))) (thing-at-point 'symbol t))))
(occur regexp nil region)) (occur regexp nil region))
(define-key ctl-x-map (kbd "C-o") 'my-occur) (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) (set-variable 'dumb-jump-prefer-searcher 'rg)




Loading…
Cancel
Save