 
 ;; Collaborate with clipboard.
 (setq x-select-enable-clipboard t)
-;; Type on selection deletes selection.
-(delete-selection-mode t)
 ;; More expected region behaviour.
 (transient-mark-mode t)
 

   ("q" nil "quit")))

(require 'smerge-mode)
(defhydra hydra-smerge (:color red)
  "git smerge"
  ("n" smerge-next "next")
  ("p" smerge-prev "previous")

;; remap C-a to `smarter-move-beginning-of-line'
(global-set-key [remap move-beginning-of-line]
                'sacha/smarter-move-beginning-of-line)

;; From http://www.reddit.com/r/emacs/comments/25v0eo/you_emacs_tips_and_tricks/chldury
(defun ar/vsplit-last-buffer ()
