 ;;                    helm-source-buffers-list
 ;;                    helm-source-ido-virtual-buffers
 ;;                    helm-source-recentf)))
-
-(global-set-key
- (kbd "C-c o")
- (defhydra hydra-open (:color blue)
-   "open"
-   ("o" ar/open-in-external-app "externally")
-   ("p" ar/open-file-at-point "path at point")
-   ("q" nil "cancel")))
 
 (require 'profiler)
 (defun ar/profiler-start-cpu ()


(use-package flycheck-pos-tip :ensure t)

(use-package hydra :ensure t)
(setq hydra-is-helpful t)

(global-set-key
 (kbd "C-c s")
 (defhydra hydra-search (:color blue)
   "search"
   ;; Use ag for grepping from current location.
   ("d" helm-do-ag "directory")
   ;; Use ag for grepping git project.
   ("r" ar/projectile-helm-ag "repository")
   ;; Find all files from current location.
   ("f" ar/find-all-dired-current-dir "find all")
   ("q" nil "cancel")))


;; Interactively resize current window.
(use-package windsize :ensure t)
(windsize-default-keybindings)

(use-package auto-dim-other-buffers :ensure t)
(add-hook 'after-init-hook (lambda ()
