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 [f10] 'end-kbd-macro)
|
||||||
(global-set-key [f11] 'call-last-kbd-macro)
|
(global-set-key [f11] 'call-last-kbd-macro)
|
||||||
|
|
||||||
|
|
||||||
;; Package zygospore --- revert C-x 1 by pressing C-x 1 again
|
;; Package zygospore --- revert C-x 1 by pressing C-x 1 again
|
||||||
;; TODO: Doesn't work with sr-speedbar
|
;; TODO: Doesn't work with sr-speedbar
|
||||||
(global-set-key (kbd "C-x 1") 'zygospore-toggle-delete-other-windows)
|
(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.
|
;; Easier than using 'M-x' and searching for it.
|
||||||
(global-set-key (kbd "C-x r i") 'string-insert-rectangle)
|
(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
|
;; set garbage collection to higher value
|
||||||
;; see http://bling.github.io/blog/2016/01/18/why-are-you-changing-gc-cons-threshold/
|
;; see http://bling.github.io/blog/2016/01/18/why-are-you-changing-gc-cons-threshold/
|
||||||
(setq gc-cons-threshold 100000000)
|
(setq gc-cons-threshold 100000000)
|
||||||
|
|
|
||||||
5
init.el
5
init.el
|
|
@ -38,7 +38,7 @@
|
||||||
helm-gtags
|
helm-gtags
|
||||||
helm-swoop
|
helm-swoop
|
||||||
helm-company
|
helm-company
|
||||||
ggtags
|
dashboard
|
||||||
))
|
))
|
||||||
|
|
||||||
;; function to install new packages
|
;; function to install new packages
|
||||||
|
|
@ -84,6 +84,9 @@
|
||||||
(require 'setup-windows)
|
(require 'setup-windows)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; setup dashboard
|
||||||
|
(require 'setup-dashboard)
|
||||||
|
|
||||||
;; setup gdb
|
;; setup gdb
|
||||||
(require 'setup-gdb)
|
(require 'setup-gdb)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue