                  (progn
                    (backward-word arg)
                    (point))))
-(global-set-key (kbd "M-DEL") 'ar/backward-delete-word)
-(global-set-key (kbd "<C-backspace>") 'ar/backward-delete-word)
+(global-set-key (kbd "M-DEL") #'ar/backward-delete-word)
+(global-set-key (kbd "<C-backspace>") #'ar/backward-delete-word)
 
 (use-package helm-dash :ensure t :demand)
-(bind-key "C-h y" 'helm-dash-at-point)
-(setq helm-dash-browser-func 'eww)
-
-(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)
+(bind-key "C-h y" #'helm-dash-at-point)
+(setq helm-dash-browser-func #'eww)
+
+(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)
 ;; 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)
-
-(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)
-(define-key helm-grep-mode-map (kbd "p")  'helm-grep-mode-jump-other-window-backward)
+(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)
+(define-key helm-grep-mode-map (kbd "p")  #'helm-grep-mode-jump-other-window-backward)
 
 (setq
  helm-google-suggest-use-curl-p t

;; From http://pages.sachachua.com/.emacs.d/Sacha.html#sec-1-7-3
;; Transpose stuff with M-t
(bind-key "M-t" nil) ;; which used to be transpose-words
(bind-key "M-t r" 'anchored-transpose)
(bind-key "M-t l" 'transpose-lines)
(bind-key "M-t w" 'transpose-words)
(bind-key "M-t t" 'transpose-words)
(bind-key "M-t M-t" 'transpose-words)
(bind-key "M-t s" 'transpose-sexps)
(bind-key "C-+" 'text-scale-increase)
(bind-key "C--" 'text-scale-decrease)

(use-package hackernews :ensure t)


        ("\\.h$" (".c" ".cpp" ".m" ".mm"))
        ("\\.hpp$" (".cpp" ".c"))
        ("\\.m$" (".h"))
        ("\\.mm$" (".h"))))
(add-hook 'c-mode-common-hook (lambda()
                                (local-set-key (kbd "C-c o") #'ff-find-other-file)))

(use-package dummy-h-mode :ensure t)
(add-to-list 'auto-mode-alist '("\\.h\\'" . dummy-h-mode))
