aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-07-03 23:41:15 +0200
committerAdrian Kummerlaender2020-07-04 00:03:42 +0200
commitd862dafa66490a60d7870b3f7da15fe082a64646 (patch)
tree68ba7fa030c423a21c301cc15ff150e735f44912 /gui/conf
parent61fee32e4196f7dddf159371621080b669ee02b8 (diff)
downloadnixos_home-d862dafa66490a60d7870b3f7da15fe082a64646.tar
nixos_home-d862dafa66490a60d7870b3f7da15fe082a64646.tar.gz
nixos_home-d862dafa66490a60d7870b3f7da15fe082a64646.tar.bz2
nixos_home-d862dafa66490a60d7870b3f7da15fe082a64646.tar.lz
nixos_home-d862dafa66490a60d7870b3f7da15fe082a64646.tar.xz
nixos_home-d862dafa66490a60d7870b3f7da15fe082a64646.tar.zst
nixos_home-d862dafa66490a60d7870b3f7da15fe082a64646.zip
Setup Emacs dashboard
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/init.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 9b5430f..88780f9 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -391,6 +391,21 @@
(use-package glsl-mode
:ensure t)
+(use-package dashboard
+ :ensure t
+ :config
+ (dashboard-setup-startup-hook)
+ (setq-default initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
+ (setq-default
+ dashboard-startup-banner 1
+ dashboard-set-heading-icons t
+ dashboard-set-file-icons t
+ dashboard-set-init-info nil)
+ (setq-default dashboard-items '((recents . 5)
+ (projects . 10)
+ (agenda . 5)))
+ (evil-set-initial-state 'dashboard-mode 'emacs))
+
(add-hook 'eshell-mode-hook
(lambda ()
(define-key eshell-mode-map (kbd "<tab>")