 (guide-key-mode 1)
 
 
-(after 'smex
+(after 'smex-autoloads
   (global-set-key (kbd "M-x") 'smex)
   (global-set-key (kbd "C-x C-m") 'smex)
   (global-set-key (kbd "C-c C-m") 'smex))

  (define-key evil-normal-state-map (kbd "SPC k") 'ido-kill-buffer)
  (define-key evil-normal-state-map (kbd "SPC f") 'ido-find-file)

  (after 'helm-autoloads
    (define-key evil-normal-state-map (kbd "SPC e") 'helm-recentf)
    (define-key evil-normal-state-map (kbd "SPC t") 'helm-etags-select)
    (define-key evil-normal-state-map (kbd "SPC l") 'helm-swoop)
    (define-key evil-normal-state-map (kbd "SPC L") 'helm-multi-swoop)
    (define-key evil-normal-state-map (kbd "SPC y") 'helm-show-kill-ring))

  (define-key evil-normal-state-map (kbd "[ SPC") (bind (evil-insert-newline-above) (forward-line)))
  (define-key evil-normal-state-map (kbd "] SPC") (bind (evil-insert-newline-below) (forward-line -1)))

  (key-chord-define evil-insert-state-map "jk" 'evil-normal-state)
  (key-chord-define evil-insert-state-map "kj" 'evil-normal-state)

  (after 'ace-jump-autoloads
    (key-chord-define evil-normal-state-map "jw" 'ace-jump-word-mode)
    (key-chord-define evil-normal-state-map "jc" 'ace-jump-char-mode)
    (key-chord-define evil-normal-state-map "jl" 'ace-jump-line-mode))

  (after 'evil-leader-autoloads
    (evil-leader/set-leader ",")
    (evil-leader/set-key
      "w" 'save-buffer
