 (bundle flycheck
         (add-hook 'after-init-hook #'global-flycheck-mode))
 
-(bundle magit
-        (global-set-key (kbd "C-x g") 'magit-status))
+(bundle magit)
 
 (bundle projectile
         (projectile-global-mode))
 
-(bundle helm
-        (global-set-key (kbd "M-x") 'helm-M-x))
+(bundle helm)
 
 (bundle ace-jump-mode)
 

(defmacro bundle (name &rest content)
  "Passthrough for el-get-bundle that records the package name in dotfiles-packages."
  `(progn
    (add-to-list 'dotfiles-packages ',name)
    (el-get-bundle ,name ,@content)))

(defun dotfiles-sync ()
  "Removes all packages not specified with the bundle macro and updates what's left."

        (require 'smartparens-config))

(bundle evil
        (evil-mode t))

(bundle evil-leader
        (global-evil-leader-mode)
        (evil-leader/set-key
          "g" 'magit-status
          "h" 'helm-M-x))

(bundle evil-matchit
        (global-evil-matchit-mode t))
