 (evil-define-key 'motion Info-mode-map (kbd "w") 'evil-forward-word-begin)
 (evil-define-key 'motion Info-mode-map (kbd "b") 'evil-backward-word-begin)
 
+;;; ========================== hydra =======================================
+(defhydra hydra-launch (:color blue :hint nil)
+  "
+      ^Launch^
+^ =======================================
+    _b_: iciba
+    _f_: baidu
+    _l_: linux app
+^
+"
+  ("b" (lambda () (interactive) (browse-url-by-word "www.iciba.com/"))
+       :color blue)
+  ("f" (lambda () (interactive) (browse-url-by-word "www.baidu.com/s?wd="))
+       :color blue)
+  ("l" counsel-linux-app :color blue)
+  ("q" nil :color blue))
+
+(defun browse-url-by-word (url)
+  (let ((str (if (use-region-p)
+                 (buffer-substring-no-properties (region-beginning) (region-end))
+                 (thing-at-point 'symbol t))))
+    (browse-url (url-encode-url
+                 (concat url (read-string "Word: " str))))))
+
 (provide 'init-keybinding)

(global-evil-leader-mode)
(evil-leader/set-leader ",")
(evil-leader/set-key
  "o"   'org-agenda

  ;; avy
  "al"  'avy-goto-line

  "sG"  'counsel-git-grep
  "ss"  'counsel-grep-or-swiper

  ;; vc
  "vv"  'vc-next-action

  ;; window
  "wu"  'winner-undo

