From dacbdcb7c966e992629396b95cea762b9478a9c7 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 2 Jul 2019 16:44:44 +0200 Subject: [PATCH] Tweak modeline settings --- emacs/.spacemacs | 62 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 58 insertions(+), 4 deletions(-) diff --git a/emacs/.spacemacs b/emacs/.spacemacs index bf3e4a1..c443128 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -511,9 +511,16 @@ before packages are loaded." (setq magit-repository-directories '(("/home/coolneng/Documents/Uni/" . 6) ("/home/coolneng/.dotfiles/" . 0))) - (add-to-list 'auto-mode-alist '("\\.aiml\\'" . web-mode)) (setq lsp-ui-doc-enable nil) ; disable lsp-ui-doc - ) + ; Modeline settings + (doom-modeline-mode t) + (setq doom-modeline-height 20) + (setq doom-modeline-buffer-encoding 'nil) + (setq doom-modeline-major-mode-icon 'nil) + ; Select mode for some extensions + (add-to-list 'auto-mode-alist '("\\.aiml\\'" . web-mode)) + (add-to-list 'auto-mode-alist '("\\.latex\\'" . latex-mode)) + ) ;; Do not write anything past this comment. This is where Emacs will ;; auto-generate custom variable definitions. @@ -527,18 +534,65 @@ This function is called at the very end of Spacemacs initialization." ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(ansi-color-names-vector + ["#282c34" "#ff6c6b" "#98be65" "#da8548" "#61afef" "#c678dd" "#1f5582" "#abb2bf"]) '(evil-want-Y-yank-to-eol nil) '(fci-rule-color "#f8fce8") '(hl-paren-background-colors (quote ("#e8fce8" "#c1e7f8" "#f8e8e8"))) '(hl-paren-colors (quote ("#40883f" "#0287c8" "#b85c57"))) + '(hl-todo-keyword-faces + (quote + (("TODO" . "#dc752f") + ("NEXT" . "#dc752f") + ("THEM" . "#2d9574") + ("PROG" . "#3a81c3") + ("OKAY" . "#3a81c3") + ("DONT" . "#f2241f") + ("FAIL" . "#f2241f") + ("DONE" . "#42ae2c") + ("NOTE" . "#b1951d") + ("KLUDGE" . "#b1951d") + ("HACK" . "#b1951d") + ("TEMP" . "#b1951d") + ("FIXME" . "#dc752f") + ("XXX" . "#dc752f") + ("XXXX" . "#dc752f") + ("???" . "#dc752f")))) + '(jdee-db-active-breakpoint-face-colors (cons "#f0f0f0" "#4078f2")) + '(jdee-db-requested-breakpoint-face-colors (cons "#f0f0f0" "#50a14f")) + '(jdee-db-spec-breakpoint-face-colors (cons "#f0f0f0" "#9ca0a4")) + '(objed-cursor-color "#e45649") '(package-selected-packages (quote - (git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-gutter diff-hl browse-at-remote lsp-python-ms python cpp-auto-include pretty-symbols blacken test-simple loc-changes load-relative dap-mode bui tree-mode lsp-ui lsp-treemacs treemacs pfuture ace-window avy lsp-java request helm-lsp cquery company-lsp ccls lsp-mode spinner ht dash-functional yasnippet yapfify pytest pyenv-mode py-isort pippel pipenv pyvenv pip-requirements live-py-mode importmagic epc ctable concurrent deferred cython-mode company-anaconda anaconda-mode pythonic flycheck-package package-lint counsel-projectile projectile levenshtein lv rtags web-mode web-beautify tagedit slim-mode scss-mode sass-mode pug-mode prettier-js impatient-mode htmlize simple-httpd haml-mode emmet-mode counsel-css company-web web-completion-data smeargle magit-svn magit-gitflow magit-popup gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit transient git-commit with-editor dash hasklig-mode yasnippet-snippets ivy-hydra counsel swiper helm helm-core ivy flycheck company hydra zerodark-theme xterm-color winum which-key wgrep use-package smex smartparens shell-pop realgud plan9-theme persp-mode pcre2el overseer nameless mvn multi-term mmm-mode meghanada maven-test-mode markdown-toc macrostep ivy-yasnippet ivy-xref ivy-rtags insert-shebang ibuffer-projectile helm-make groovy-mode groovy-imports gradle-mode google-c-style gh-md fuzzy flycheck-rtags flycheck-pos-tip flycheck-irony flycheck-bashate flx fish-mode eyebrowse evil eshell-z eshell-prompt-extras esh-help ensime elisp-slime-nav dotenv-mode disaster diminish company-statistics company-shell company-rtags company-irony-c-headers company-irony company-emacs-eclim company-c-headers cmake-mode cmake-ide clang-format bind-map auto-yasnippet auto-compile async ac-ispell))) + (mood-line doom-modeline shrink-path solarized-theme lenlen-theme color-theme-solarized color-theme doom-themes company-reftex company-auctex auctex-latexmk auctex yaml-mode git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-gutter diff-hl browse-at-remote lsp-python-ms python cpp-auto-include pretty-symbols blacken test-simple loc-changes load-relative dap-mode bui tree-mode lsp-ui lsp-treemacs treemacs pfuture ace-window avy lsp-java request helm-lsp cquery company-lsp ccls lsp-mode spinner ht dash-functional yasnippet yapfify pytest pyenv-mode py-isort pippel pipenv pyvenv pip-requirements live-py-mode importmagic epc ctable concurrent deferred cython-mode company-anaconda anaconda-mode pythonic flycheck-package package-lint counsel-projectile projectile levenshtein lv rtags web-mode web-beautify tagedit slim-mode scss-mode sass-mode pug-mode prettier-js impatient-mode htmlize simple-httpd haml-mode emmet-mode counsel-css company-web web-completion-data smeargle magit-svn magit-gitflow magit-popup gitignore-templates gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit transient git-commit with-editor dash hasklig-mode yasnippet-snippets ivy-hydra counsel swiper helm helm-core ivy flycheck company hydra zerodark-theme xterm-color winum which-key wgrep use-package smex smartparens shell-pop realgud plan9-theme persp-mode pcre2el overseer nameless mvn multi-term mmm-mode meghanada maven-test-mode markdown-toc macrostep ivy-yasnippet ivy-xref ivy-rtags insert-shebang ibuffer-projectile helm-make groovy-mode groovy-imports gradle-mode google-c-style gh-md fuzzy flycheck-rtags flycheck-pos-tip flycheck-irony flycheck-bashate flx fish-mode eyebrowse evil eshell-z eshell-prompt-extras esh-help ensime elisp-slime-nav dotenv-mode disaster diminish company-statistics company-shell company-rtags company-irony-c-headers company-irony company-emacs-eclim company-c-headers cmake-mode cmake-ide clang-format bind-map auto-yasnippet auto-compile async ac-ispell))) + '(pdf-view-midnight-colors (quote ("#655370" . "#fbf8ef"))) '(safe-local-variable-values (quote ((eval progn (pp-buffer) (indent-buffer))))) '(sml/active-background-color "#98ece8") '(sml/active-foreground-color "#424242") '(sml/inactive-background-color "#4fa8a8") - '(sml/inactive-foreground-color "#424242")) + '(sml/inactive-foreground-color "#424242") + '(vc-annotate-background "#fafafa") + '(vc-annotate-color-map + (list + (cons 20 "#50a14f") + (cons 40 "#688e35") + (cons 60 "#807b1b") + (cons 80 "#986801") + (cons 100 "#ae7118") + (cons 120 "#c37b30") + (cons 140 "#da8548") + (cons 160 "#c86566") + (cons 180 "#b74585") + (cons 200 "#a626a4") + (cons 220 "#ba3685") + (cons 240 "#cf4667") + (cons 260 "#e45649") + (cons 280 "#d2685f") + (cons 300 "#c07b76") + (cons 320 "#ae8d8d") + (cons 340 "#383a42") + (cons 360 "#383a42"))) + '(vc-annotate-very-old-color nil)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.