Setup dashboard

This commit is contained in:
laurensmiers 2018-04-02 15:33:33 +02:00
parent a1f0476b17
commit 3761f0b06a
3 changed files with 19 additions and 5 deletions

15
custom/setup-dashboard.el Normal file
View file

@ -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)

View file

@ -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)

View file

@ -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)