  ;; (("M-X" . smex-major-mode-commands))
  ;; (("C-c C-c M-x" . execute-extended-command)))
 
+;; Helm
 (use-package helm
   :ensure t
   :bind (("M-x" . helm-M-x)

  (define-key helm-map (kbd "C-z") 'helm-select-action)
  (setq helm-mode-fuzzy-match t))

(use-package flycheck
  :init
  (dolist (hook '(org-mode-hook))

(transient-mark-mode t)
(setq x-select-enable-clipboard t)

;; Prog Hook
(add-hook 'prog-mode-hook 'flyspell-prog-mode)

;; Window Splitting Made Easy
(global-set-key [f1] 'split-window-horizontally)
(global-set-key [f2] 'split-window-vertically)
(global-set-key [f3] 'delete-window)

;; Theme
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
(load-theme 'ample t)

;; Powerline
(use-package powerline
  :ensure t
  :config (powerline-default-theme))

;; Autopair
(use-package autopair
  :init
  (dolist (hook '(prog-mode-hook conf-mode-hook))
    (add-hook hook #'autopair-mode)))

;; Whitespace
(use-package whitespace
  :init
  (dolist (hook '(prog-mode-hook conf-mode-hook))
