diff options
author | Adrian Kummerlaender | 2020-07-03 23:41:15 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2020-07-04 00:03:42 +0200 |
commit | d862dafa66490a60d7870b3f7da15fe082a64646 (patch) | |
tree | 68ba7fa030c423a21c301cc15ff150e735f44912 /gui | |
parent | 61fee32e4196f7dddf159371621080b669ee02b8 (diff) | |
download | nixos_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')
-rw-r--r-- | gui/conf/init.el | 15 |
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>") |