 (add-hook 'sgml-mode-hook
           (lambda() (local-set-key (kbd "<RET>") 'electric-indent-just-newline)))
 
-(use-package multiple-cursors
-  :ensure t)
+(use-package multiple-cursors :ensure t)
 (multiple-cursors-mode)
 (global-set-key (kbd "C-c n") 'mc/mark-next-like-this)
 (global-set-key (kbd "C-c a") 'mc/mark-all-like-this)

;; Mac OS
;; brew install --HEAD ctags
;; brew install global --with-exuberant-ctags
(use-package ggtags
  :ensure t)
(use-package helm-gtags
  :ensure t)
(helm-gtags-mode 1)
(global-set-key (kbd "M-.") 'helm-gtags-dwim)

(use-package projectile
  :ensure t)
(projectile-global-mode)
(setq projectile-enable-caching t)

;; Best way (so far) to search for files in repo.
(use-package helm-projectile
  :ensure t
  :bind (("C-x f" . helm-projectile)))

;; Prevent split-window-sensibly to split horizontally.

(global-set-key [remap move-beginning-of-line]
                'sacha/smarter-move-beginning-of-line)

(use-package whole-line-or-region :ensure t)
(whole-line-or-region-mode)

;; From http://www.reddit.com/r/emacs/comments/25v0eo/you_emacs_tips_and_tricks/chldury
