Setup dashboard
This commit is contained in:
parent
a1f0476b17
commit
3761f0b06a
3 changed files with 19 additions and 5 deletions
15
custom/setup-dashboard.el
Normal file
15
custom/setup-dashboard.el
Normal 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)
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue