     (setq helm-swoop-move-to-line-cycle t)
     (setq helm-swoop-use-line-number-face t)))
 
-;; (define-key isearch-mode-map (kbd "C-o") 'swoop-from-isearch)
-;; (define-key isearch-mode-map (kbd "M-i") 'helm-swoop-from-isearch)
-;; (define-key helm-swoop-map (kbd "M-i") 'helm-multi-swoop-all-from-helm-swoop)
-
 ;yaml mode
-(use-package yaml-mode)
+(use-package yaml-mode :defer t)
 
 ;;; auto update of packages
 (use-package auto-package-update :ensure t)


;;; swoop
(use-package helm-swoop
  :bind
  (("<f4>" . helm-swoop)
   ("M-I" . helm-swoop-back-to-last-point)
   ("C-c M-i" . helm-multi-swoop)
   ("C-x M-i" . helm-multi-swoop-all))

  :init
  (progn
    (setq helm-swoop-split-with-multiple-windows nil)


(use-package ws-butler
  :ensure t
  :diminish ws-butler-mode
  :commands ws-butler-mode
  :init (progn
          (add-hook 'c-mode-common-hook 'ws-butler-mode)
