mirror of
https://github.com/larstvei/dot-emacs.git
synced 2025-06-07 07:50:12 +00:00
Compare commits
No commits in common. "81f2886ec9655e5c3a57f5ca7221bc7c2399a3c9" and "59fd42d8d3c9deb0d24bd526ba5f877f6a1567ba" have entirely different histories.
81f2886ec9
...
59fd42d8d3
34
init.org
34
init.org
@ -184,17 +184,10 @@
|
|||||||
number, and restore the default value after initialization.
|
number, and restore the default value after initialization.
|
||||||
|
|
||||||
#+begin_src emacs-lisp :tangle early-init.el
|
#+begin_src emacs-lisp :tangle early-init.el
|
||||||
|
|
||||||
(let ((file-name-handler-alist-old file-name-handler-alist))
|
|
||||||
(add-hook 'emacs-startup-hook
|
|
||||||
(lambda ()
|
|
||||||
(setq gc-cons-threshold (* 1024 1024 20))
|
|
||||||
(setq file-name-handler-alist file-name-handler-alist-old)))
|
|
||||||
(setq gc-cons-threshold most-positive-fixnum)
|
(setq gc-cons-threshold most-positive-fixnum)
|
||||||
(setq file-name-handler-alist nil))
|
(add-hook 'after-init-hook
|
||||||
|
(lambda ()
|
||||||
(setq inhibit-default-init t)
|
(setq gc-cons-threshold (* 1024 1024 20))))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Packages
|
* Packages
|
||||||
@ -533,6 +526,27 @@
|
|||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Dashboard
|
||||||
|
|
||||||
|
Dashboard provides a nice welcome.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
;; A startup screen extracted from Spacemacs
|
||||||
|
(use-package dashboard
|
||||||
|
:config
|
||||||
|
(setq dashboard-projects-backend 'project-el
|
||||||
|
dashboard-banner-logo-title nil
|
||||||
|
dashboard-center-content t
|
||||||
|
dashboard-set-footer nil
|
||||||
|
dashboard-page-separator "\n\n\n"
|
||||||
|
dashboard-items '((projects . 15)
|
||||||
|
(recents . 15)
|
||||||
|
(bookmarks . 5)))
|
||||||
|
(dashboard-setup-startup-hook))
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Center content mode
|
** Center content mode
|
||||||
|
|
||||||
[[https://git.larstvei.no/larstvei/center-content-mode][center-content-mode]] is a small, homegrown, minor mode for centering the
|
[[https://git.larstvei.no/larstvei/center-content-mode][center-content-mode]] is a small, homegrown, minor mode for centering the
|
||||||
|
Loading…
Reference in New Issue
Block a user