- (define-key swiper-map (kbd "M-r") 'swiper-query-replace))
-
- (set-face-attribute
- 'ivy-current-match nil
- :background "Orange"
- :foreground "black")
-
- (eval-after-load 'swiper
- '(progn
- (define-key swiper-map (kbd "C-.")
- (lambda ()
- (interactive)
- (insert (format "%s" (with-ivy-window (thing-at-point 'word))))))
- (define-key swiper-map (kbd "M-.")
- (lambda ()
- (interactive)
- (insert (format "%s" (with-ivy-window (thing-at-point 'symbol))))))
- ))
+ (define-key swiper-map (kbd "M-r") 'swiper-query-replace)
+ (define-key swiper-map (kbd "C-.") (lambda ()
+ (interactive)
+ (insert (format "%s" (with-ivy-window (thing-at-point 'word))))))
+ (define-key swiper-map (kbd "M-.") (lambda ()
+ (interactive)
+ (insert (format "%s" (with-ivy-window (thing-at-point 'symbol)))))))