 (use-package dashboard
   :ensure t
   :config
-  (dashboard-setup-startup-hook))
+  (dashboard-setup-startup-hook)
+  (setq dashboard-center-content t
+	dashboard-startup-banner 'logo)
+)
 
 (use-package flycheck
   :ensure t


(use-package magit
  :ensure t
  :init (global-flycheck-mode))

(use-package helm
  :ensure t
  :init (helm-mode 1)
  )

(use-package evil-magit

  (general-define-key
   :states '(normal)
   :prefix "SPC"
   "SPC" '(helm-M-x :which-key "execute command")
   "TAB" '(other-window :which-key "other window")
   "b"  '(:ignore t :which-key "buffers")
   "bb" '(helm-buffers-list t :which-key "helm-buffers-list")
   "e"  '(:ignore t :which-key "emacs")
   "ee"  '(lambda () (interactive)(find-file "~/.emacs") :which-key "open .emacs")
   "er"  '(lambda () (interactive)(load-file "~/.emacs") :which-key "reload .emacs")
   "f"  '(:ignore t :which-key "files")
   "ff" '(helm-ag :which-key "find files")
   "fr" '(helm-recentf :which-key "recent files")
   "g"  '(:ignore t :which-key "git")
   "gs" '(magit-status :which-key "git status")
   "p"  '(:ignore t :which-key "projectile")
   "pf" '(helm-projectile-find-file :which-key "projects find file")
   "pp" '(helm-projectile-switch-project :which-key "projects")
   "r"  '(:ignore t :which-key "ruby")
   "rc" '(inf-ruby-console-auto :which-key "ruby console")
   "rd" '(robe-doc :which-key "robe doc")
   "rj" '(robe-jump :which-key "robe jump")
   "s"   '(split-window-vertically :which-key "split vertically")
   "v"   '(split-window-horizontally :which-key "split horizontally")
   "w"  '(:ignore t :which-key "window")
   "wh" '(windmove-left :which-key "move left")
   "wj" '(windmove-down :which-key "move down")
   "wk" '(windmove-up :which-key "move up")
   "wl" '(windmove-right :which-key "move right")
   )
  (general-define-key
   :states '(normal)
