diff --git a/custom/setup-dashboard.el b/custom/setup-dashboard.el new file mode 100644 index 0000000..627584d --- /dev/null +++ b/custom/setup-dashboard.el @@ -0,0 +1,15 @@ +(require 'dashboard) + +(dashboard-setup-startup-hook) + +;; Set the startup message +(setq dashboard-banner-logo-title "") + +;; Set the banner +(setq dashboard-startup-banner 'logo) +(setq dashboard-items '((recents . 10) + (bookmarks . 5) + )) + + +(provide 'setup-dashboard) diff --git a/custom/setup-general.el b/custom/setup-general.el index 34cdea8..221252c 100644 --- a/custom/setup-general.el +++ b/custom/setup-general.el @@ -2,7 +2,6 @@ (global-set-key [f10] 'end-kbd-macro) (global-set-key [f11] 'call-last-kbd-macro) - ;; Package zygospore --- revert C-x 1 by pressing C-x 1 again ;; TODO: Doesn't work with sr-speedbar (global-set-key (kbd "C-x 1") 'zygospore-toggle-delete-other-windows) @@ -14,9 +13,6 @@ ;; Easier than using 'M-x' and searching for it. (global-set-key (kbd "C-x r i") 'string-insert-rectangle) -;; hide the welcome screen -(setq inhibit-startup-message t) - ;; set garbage collection to higher value ;; see http://bling.github.io/blog/2016/01/18/why-are-you-changing-gc-cons-threshold/ (setq gc-cons-threshold 100000000) diff --git a/init.el b/init.el index 2428daf..5385e26 100644 --- a/init.el +++ b/init.el @@ -38,7 +38,7 @@ helm-gtags helm-swoop helm-company - ggtags + dashboard )) ;; function to install new packages @@ -84,6 +84,9 @@ (require 'setup-windows) ) +;; setup dashboard +(require 'setup-dashboard) + ;; setup gdb (require 'setup-gdb)