From c01c1809464a568674b61fe248a6132b8fb63f00 Mon Sep 17 00:00:00 2001 From: Leni Ven Date: Wed, 11 Jan 2023 11:59:10 -0800 Subject: [PATCH] Some speed optimizations --- home/spacemacs/init.el | 9 ++++----- home/spacemacs/layers.el | 19 +++++++++++-------- home/spacemacs/user-config.el | 3 +-- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/home/spacemacs/init.el b/home/spacemacs/init.el index ef9cd24..5949962 100644 --- a/home/spacemacs/init.el +++ b/home/spacemacs/init.el @@ -1,11 +1,10 @@ - - "Initialization: +"Initialization: This function is called at the very beginning of Spacemacs startup, before layer configuration. It should only modify the values of Spacemacs settings." - ;; This setq-default sexp is an exhaustive list of all the supported - ;; spacemacs settings. - (setq-default +;; This setq-default sexp is an exhaustive list of all the supported +;; spacemacs settings. +(setq-default ;; If non-nil then enable support for the portable dumper. You'll need ;; to compile Emacs 27 from source following the instructions in file ;; EXPERIMENTAL.org at to root of the git repository. diff --git a/home/spacemacs/layers.el b/home/spacemacs/layers.el index 8a77286..79feccc 100644 --- a/home/spacemacs/layers.el +++ b/home/spacemacs/layers.el @@ -38,11 +38,12 @@ This function should only modify configuration layer settings." ;; 3 Checker (spell-checking :variables ;; Required: aspell - spell-checking-enable-by-default t) + spell-checking-enable-by-default nil) syntax-checking ;; 4 Completion auto-completion - helm + ;helm ;; This is slow. Replace by ivy. + ivy ;; 6 Emacs (org :variables @@ -55,7 +56,7 @@ This function should only modify configuration layer settings." ;; 7 File trees treemacs - neotree + ;neotree ;; 8 Fonts unicode-fonts @@ -76,7 +77,6 @@ This function should only modify configuration layer settings." csv bibtex (latex :variables - ;latex-build-command 'latexmk latex-enable-folding t latex-enable-magic t ) @@ -119,7 +119,7 @@ This function should only modify configuration layer settings." ;; 22 Tools (cmake :variables - cmake-backend 'lsp) + cmake-backend 'lsp) debug docker finance ;; Required: ledger @@ -145,12 +145,15 @@ This function should only modify configuration layer settings." '( all-the-icons centaur-tabs - company-statistics - highlight-doxygen smart-tabs-mode tablist - exec-path-from-shell mini-frame + + company-statistics + exec-path-from-shell + + cmake-ide + highlight-doxygen ) ;; A list of packages that cannot be updated. diff --git a/home/spacemacs/user-config.el b/home/spacemacs/user-config.el index b0cb6c5..3365943 100644 --- a/home/spacemacs/user-config.el +++ b/home/spacemacs/user-config.el @@ -1,5 +1,6 @@ ;; Spacemacs itself (exec-path-from-shell-initialize) +(spacemacs/enable-transparency) ;; Typing (setq evil-indent-convert-tabs nil) @@ -52,8 +53,6 @@ (set-face-attribute 'font-lock-constant-face nil :foreground "#ecbd3d") -(spacemacs/enable-transparency) - ;; Org mode (setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))