 (use-package flycheck
   :ensure t
   :diminish flycheck-mode " ⓢ"
+  :commands flycheck-mode
   :pin melpa
-  :bind
-  (("<f5> s" . flycheck-mode))
   :config
   (setq flycheck-check-syntax-automatically '(save idle-change)
         flycheck-idle-change-delay 10))


(use-package engine-mode
  :ensure t
  :bind
  (("<f7> b a" . engine/search-amazon)
   ("<f7> b G" . engine/search-github)
   ("<f7> b g" . engine/search-google)
   ("<f7> b s" . engine/search-stack-overflow)
   ("<f7> b t" . engine/search-twitter)
   ("<f7> b w" . engine/search-wikipedia)
   ("<f7> b W" . engine/search-wikipedia-pt)
   ("<f7> b d" . engine/search-wiktionary)
   ("<f7> b D" . engine/search-wiktionary-pt))
  :config
  (defengine amazon
    "http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=%s")


(use-package langtool
  :ensure t
  :commands langtool-check langtool-check-done langtool-correct-buffer langtool-switch-default-language langtool-show-message-at-point
  :config
  (setq langtool-language-tool-jar (concat langtool-path "languagetool-commandline.jar")
        langtool-default-language "pt-BR"
