Remove helm-swoop to try helm-ag a bit on SPC s s

This commit is contained in:
syl20bnr 2015-06-15 22:58:35 -04:00
parent 7eeccc222d
commit 2adf5bf0e5

View file

@ -65,7 +65,8 @@
;; not working for now ;; not working for now
;; helm-proc ;; helm-proc
helm-projectile helm-projectile
helm-swoop ;; testing if it can be replaced by `helm-ag'
;; helm-swoop
helm-themes helm-themes
highlight-indentation highlight-indentation
highlight-numbers highlight-numbers
@ -2010,21 +2011,22 @@ If ARG is non nil then `ag' and `pt' and ignored."
"sgp" 'helm-projectile-grep)))) "sgp" 'helm-projectile-grep))))
(defun spacemacs/init-helm-swoop () ;; Remove it for now, see if `helm-ag' can do the job
(use-package helm-swoop ;; (defun spacemacs/init-helm-swoop ()
:defer t ;; (use-package helm-swoop
:init ;; :defer t
(setq helm-swoop-split-with-multiple-windows t ;; :init
helm-swoop-split-direction 'split-window-vertically ;; (setq helm-swoop-split-with-multiple-windows t
helm-swoop-speed-or-color t ;; helm-swoop-split-direction 'split-window-vertically
helm-swoop-split-window-function 'helm-default-display-buffer) ;; helm-swoop-speed-or-color t
(evil-leader/set-key ;; helm-swoop-split-window-function 'helm-default-display-buffer)
"sS" 'helm-multi-swoop ;; (evil-leader/set-key
"ss" 'helm-swoop ;; "sS" 'helm-multi-swoop
"s C-s" 'helm-multi-swoop-all) ;; "ss" 'helm-swoop
(defadvice helm-swoop (before add-evil-jump activate) ;; "s C-s" 'helm-multi-swoop-all)
(when (configuration-layer/package-usedp 'evil-jumper) ;; (defadvice helm-swoop (before add-evil-jump activate)
(evil-set-jump))))) ;; (when (configuration-layer/package-usedp 'evil-jumper)
;; (evil-set-jump)))))
(defun spacemacs/init-helm-themes () (defun spacemacs/init-helm-themes ()
(use-package helm-themes (use-package helm-themes