 (use-package magit :ensure t)
 ;; Use vc-ediff as default.
 (eval-after-load "vc-hooks"
-  '(define-key vc-prefix-map "=" 'vc-ediff))
-(global-set-key (kbd "C-x g") 'magit-status)
-(setq magit-status-buffer-switch-function 'switch-to-buffer)
+  '(define-key vc-prefix-map "=" #'vc-ediff))
+(global-set-key (kbd "C-x g") #'magit-status)
+(setq magit-status-buffer-switch-function #'switch-to-buffer)
 
 (defun ar/sort-lines-ignore-case ()
   "Sort region (case-insensitive)."
   (interactive)
   (let ((sort-fold-case t))
-    (call-interactively 'sort-lines)))
+    (call-interactively #'sort-lines)))
 ;; Sort lines (ie. package imports or headers).
-(global-set-key (kbd "M-s l") 'ar/sort-lines-ignore-case)
+(global-set-key (kbd "M-s l") #'ar/sort-lines-ignore-case)
 
 (setq css-indent-offset 2)
 

    (global-linum-mode t)
    (ar/setup-git-fringe)
    (add-hook 'before-make-frame-hook
              #'(lambda ()
                  (use-package hlinum :ensure t)
                  (hlinum-activate)
                  (ar/setup-git-fringe)))))

(ar/setup-graphic-display)


Repeated invocations toggle between the two most recently open buffers."
  (interactive)
  (switch-to-buffer (other-buffer (current-buffer) 1)))
(key-chord-define-global "JJ" #'ar/switch-to-previous-buffer)
(key-chord-define-global "BB" #'other-window)
(key-chord-mode +1)

;; Needs clang-format installed.
