 
 (use-package ispell
   :ensure t
-  )
-(use-package flyspell-correct
-  :ensure t
-  :config
-  (add-hook 'sgml-mode-hook 'flyspell-prog-mode)
-  (add-hook 'js-mode-hook 'flyspell-prog-mode)
-  )
+  :config
+  (use-package flyspell-correct
+    :ensure t
+    :config
+    (add-hook 'sgml-mode-hook 'flyspell-prog-mode)
+    (add-hook 'js-mode-hook 'flyspell-prog-mode)
+    ))
 
 (use-package ivy
   :ensure t


(use-package all-the-icons
  :ensure t
  )

(use-package all-the-icons-dired
  :ensure t
  :config
  (add-hook 'dired-mode-hook 'all-the-icons-dired-mode)
  )


(add-hook 'prog-mode-hook '(lambda () (interactive) (column-marker-1 80)))
(add-hook 'web-mode-hook '(lambda () (interactive) (column-marker-1 80)))
(global-set-key (kbd "M-z") 'shell-command)
(global-set-key (kbd "C-x 2") 'my-window-split-v)
(global-set-key (kbd "C-x 3") 'my-window-split-h)

          airline-utf-glyph-subseparator-right  #xe0b3
          airline-utf-glyph-branch              #xE0A0
          airline-utf-glyph-readonly            #xe0a2
          airline-utf-glyph-linenumber          #xe0a1 ))
  )

  (use-package engine-mode
    :ensure t
    :config
    (engine-mode t)
    (defengine duckduckgo
      "https://duckduckgo.com/?q=%s"
      :keybinding "d")
    (defengine github
      "https://github.com/search?ref=simplesearch&q=%s"
      :keybinding "g")
    (defengine google
      "http://www.google.com/search?ie=utf-8&oe=utf-8&q=%s"
      :keybinding "a")
    (defengine rfcs
      "http://pretty-rfc.herokuapp.com/search?q=%s"
      :keybinding "r")
    (defengine stack-overflow
      "https://stackoverflow.com/search?q=%s"
      :keybinding "s")
    (defengine wikipedia
      "http://www.wikipedia.org/search-redirect.php?language=en&go=Go&search=%s"
      :keybinding "w")
    (engine/set-keymap-prefix (kbd "M-a"))
    )

(use-package web-mode
  :ensure t
