   (other-window 1 nil)
   (switch-to-next-buffer))
 
-(global-set-key (kbd "C-x 2")
-                #'ar/vsplit-last-buffer)
-(global-set-key (kbd "C-x 3")
-                #'ar/hsplit-last-buffer)
+(bind-key "C-x 2" #'ar/vsplit-last-buffer)
+(bind-key "C-x 3" #'ar/hsplit-last-buffer)
 
 ;; Thank you Bozhidar.
 ;; From https://github.com/bbatsov/prelude/blob/a52cdc83eeec567b13a8a5719a174dfe294ee739/core/prelude-core.el#L340

            (setq linum-format "%4d ")))

(use-package git-gutter
  :ensure t)
(global-git-gutter-mode +1)
(global-set-key (kbd "C-c <up>")
                #'git-gutter:previous-hunk)
(global-set-key (kbd "C-c <down>")
                #'git-gutter:next-hunk)

(defun ar/setup-tty ()
  "Setup tty frame."

  ("u" ar/helm-buffer-urls nil)
  ("q" nil "cancel"))

(bind-key "C-c o" #'hydra-open/body)

(defhydra hydra-search (:color blue)
  "search"
