                  (progn
                    (subword-backward arg)
                    (point))))
-(global-set-key (kbd "M-DEL") #'ar/backward-delete-subword)
-(global-set-key (kbd "<C-backspace>") #'ar/backward-delete-subword)
+(global-set-key (kbd "M-DEL")
+                #'ar/backward-delete-subword)
+(global-set-key (kbd "<C-backspace>")
+                #'ar/backward-delete-subword)
 
 (use-package helm-dash :ensure t :demand)
 (bind-key "C-h y" #'helm-dash-at-point)
 (setq helm-dash-browser-func #'browse-url)
 
-(global-set-key (kbd "M-C-s") #'helm-multi-swoop-all)
-(global-set-key (kbd "C-c i") #'helm-imenu)
+(global-set-key (kbd "M-C-s")
+                #'helm-multi-swoop-all)
+(global-set-key (kbd "C-c i")
+                #'helm-imenu)
 (define-key helm-map (kbd "<tab>") #'helm-execute-persistent-action) ; rebind 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
-(global-set-key (kbd "M-x") #'helm-M-x)
-(global-set-key (kbd "M-y") #'helm-show-kill-ring)
-(global-set-key (kbd "C-x b") #'helm-buffers-list)
-(global-set-key (kbd "C-h a") #'helm-apropos)
+(global-set-key (kbd "M-x")
+                #'helm-M-x)
+(global-set-key (kbd "M-y")
+                #'helm-show-kill-ring)
+(global-set-key (kbd "C-x b")
+                #'helm-buffers-list)
+(global-set-key (kbd "C-h a")
+                #'helm-apropos)
 ;; Duplicate line.
 (global-set-key "\C-x\C-d" "\C-a\C- \C-e\M-w\C-j\C-y")
 ;; On Mac, this is effectively fn-M-backspace.
-(global-set-key (kbd "M-(") #'kill-word)
-(global-set-key (kbd "C-q") #'previous-buffer)
-(global-set-key (kbd "C-z") #'next-buffer)
+(global-set-key (kbd "M-(")
+                #'kill-word)
+(global-set-key (kbd "C-q")
+                #'previous-buffer)
+(global-set-key (kbd "C-z")
+                #'next-buffer)
 
 (define-key helm-grep-mode-map (kbd "<return>")  #'helm-grep-mode-jump-other-window)
 (define-key helm-grep-mode-map (kbd "n")  #'helm-grep-mode-jump-other-window-forward)

(setq auto-revert-check-vc-info t)

(use-package expand-region :ensure t)
(global-set-key (kbd "C-c w") #'er/expand-region)

(require 'recentf)
(setq recentf-max-saved-items 200

(setq company-show-numbers t)
(global-company-mode)
(add-to-list 'company-backends 'company-c-headers)
(global-set-key (kbd "<backtab>")
                #'company-complete)

;; (add-to-list 'load-path
;;              (concat (getenv "HOME") "/.emacs.d/downloads/rtags/src"))
