 
 (use-package rainbow-delimiters
   :ensure rainbow-delimiters)
-(global-rainbow-delimiters-mode)
+(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
 
 (use-package hungry-delete
   :ensure hungry-delete)

(bind-key "M-t M-t" 'transpose-words)
(bind-key "M-t s" 'transpose-sexps)

;; Alternative to grepping from shell.
(bind-key "C-x s" 'helm-ag-r-from-git-repo)

(use-package elfeed
  :ensure elfeed)

  :ensure helm-swoop)
(require 'helm-swoop)

(global-set-key (kbd "C-s") 'helm-swoop)
(global-set-key (kbd "M-C-s") 'helm-multi-swoop-all)
(global-set-key (kbd "C-r") nil)
(global-set-key (kbd "C-c i") 'helm-imenu)
(global-set-key (kbd "M-C-s") 'helm-swoop)
(define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action) ; rebihnd tab to do persistent action
