diff options
| -rw-r--r-- | Emacs.org | 15 |
1 files changed, 14 insertions, 1 deletions
| @@ -4,6 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | * Table of contents :toc: | 5 | * Table of contents :toc: |
| 6 | - [[#startup-performance][Startup Performance]] | 6 | - [[#startup-performance][Startup Performance]] |
| 7 | - [[#on-startup][On startup]] | ||
| 7 | - [[#user-information-setup][User information setup]] | 8 | - [[#user-information-setup][User information setup]] |
| 8 | - [[#stay-clean][Stay clean]] | 9 | - [[#stay-clean][Stay clean]] |
| 9 | - [[#package-setup][Package setup]] | 10 | - [[#package-setup][Package setup]] |
| @@ -58,10 +59,21 @@ | |||
| 58 | (time-subtract after-init-time before-init-time))) | 59 | (time-subtract after-init-time before-init-time))) |
| 59 | gcs-done)) | 60 | gcs-done)) |
| 60 | 61 | ||
| 61 | (add-hook 'emacs-startup-hook #'jd/display-startup-time) | 62 | #+end_src |
| 63 | |||
| 64 | * On startup | ||
| 65 | =jd/startup= function will be invoke after emacs startup | ||
| 66 | |||
| 67 | #+begin_src emacs-lisp | ||
| 68 | (defun jd/startup () | ||
| 69 | (electric-pair-mode 1) | ||
| 70 | (global-company-mode 1) | ||
| 71 | (jd/display-startup-time)) | ||
| 62 | 72 | ||
| 73 | (add-hook 'emacs-startup-hook #'jd/startup) | ||
| 63 | #+end_src | 74 | #+end_src |
| 64 | 75 | ||
| 76 | |||
| 65 | * User information setup | 77 | * User information setup |
| 66 | 78 | ||
| 67 | #+begin_src emacs-lisp | 79 | #+begin_src emacs-lisp |
| @@ -616,6 +628,7 @@ | |||
| 616 | 628 | ||
| 617 | * Development | 629 | * Development |
| 618 | ** Languages | 630 | ** Languages |
| 631 | |||
| 619 | *** Lsp | 632 | *** Lsp |
| 620 | 633 | ||
| 621 | #+begin_src emacs-lisp | 634 | #+begin_src emacs-lisp |
