Helm swoop

This commit is contained in:
Correl Roush 2016-01-06 00:25:52 -05:00
parent 32278542e7
commit 30c0427b9a

View file

@ -27,8 +27,7 @@
("C-x C-b" . helm-buffers-list) ("C-x C-b" . helm-buffers-list)
("C-x C-f" . helm-find-files) ("C-x C-f" . helm-find-files)
("C-x C-r" . helm-recentf) ("C-x C-r" . helm-recentf)
("C-x c o" . helm-occur) ("C-x c o" . helm-occur))
("C-x c s" . helm-swoop))
:config (progn :config (progn
(require 'helm-config) (require 'helm-config)
(helm-mode 1) (helm-mode 1)
@ -70,6 +69,21 @@ Helm projectile integration
:init (eval-after-load 'flyspell :init (eval-after-load 'flyspell
'(define-key flyspell-mode-map (kbd "C-;") 'helm-flyspell-correct))) '(define-key flyspell-mode-map (kbd "C-;") 'helm-flyspell-correct)))
#+end_src #+end_src
*** helm-swoop
#+name: packages
#+BEGIN_SRC emacs-lisp
(use-package helm-swoop
:ensure t
:bind (("C-x c s" . helm-swoop))
:commands (helm-swoop
helm-swoop-from-isearch)
:init
(define-key isearch-mode-map (kbd "M-i") 'helm-swoop-from-isearch)
:config
(setq helm-swoop-speed-or-color t)
(define-key helm-swoop-map (kbd "M-i") 'helm-multi-swoop-all-from-helm-swoop)
(define-key helm-swoop-map (kbd "M-m") 'helm-multi-swoop-current-mode-from-helm-swoop))
#+END_SRC
** Ace Jump ** Ace Jump
#+name: packages #+name: packages
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp