   (ar/select-current-block)
   (ar/sort-lines-ignore-case))
 
-(global-set-key (kbd "M-s b") #'ar/sort-current-block)
+(global-set-key (kbd "M-s b")
+                #'ar/sort-current-block)
 
 (defun ar/sort-objc-headers ()
   "Alphabetically sort Objective-C headers."


(add-hook 'c-mode-common-hook
          (lambda()
            (local-set-key (kbd "C-c o") #'hydra-open-c-mode/body)))

(global-set-key
 (kbd "C-c o")
 (defhydra hydra-open (:color blue)
   "open"
   ("e" ar/open-in-external-app "externally")
   ("u" ar/open-file-at-point "url at point")
   ("q" nil "cancel")))

(global-set-key
 (kbd "C-c s")
 (defhydra hydra-search (:color blue)
   "search"
   ("d" helm-do-ag "search directory")
   ("r" ar/projectile-helm-ag "search repository")
   ("f" ar/find-dired-current-dir "find file")
   ("a" ar/find-all-dired-current-dir "find all files")
   ("q" nil "quit")))

(defhydra hydra-git-gutter (:pre (git-gutter-mode 1))
  "

                  (end-of-line)
                  (point))))
    (comment-or-uncomment-region start end)))
(global-set-key (kbd "M-;")
                #'ar/comment-dwim)

(defun ar/new-file-with-snippet (name extension mode snippet-name &optional interactive-snippet-p)
  "Create file with NAME, EXTENSION, MODE, SNIPPET-NAME, and optional INTERACTIVE-SNIPPET-P."
