 (require 'helm-grep)
 (require 'helm-eshell)
 (require 'helm-buffers)
-;;(package-install 'helm-swoop)
-(require 'helm-swoop)
+
+(use-package helm-swoop
+  :ensure helm-swoop)
+
 (global-set-key (kbd "M-C-s") 'helm-swoop)
 (global-set-key (kbd "C-s") 'isearch-forward-regexp)
 (global-set-key (kbd "C-r") 'isearch-backward-regexp)

             '("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)

;;  (package-install 'bind-key))
(require 'bind-key)

;; From http://pages.sachachua.com/.emacs.d/Sacha.html#sec-1-7-3
;; Transpose stuff with M-t

(semantic-mode 1)

(global-set-key (kbd "C-c h o") 'helm-occur)
(define-key helm-map (kbd "<tab>") 'helm-execute-persistent-action) ; rebihnd tab to do persistent action
(define-key helm-map (kbd "C-i") 'helm-execute-persistent-action) ; make TAB works in terminal
(define-key helm-map (kbd "C-z")  'helm-select-action) ; list actions using C-z
