summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el30
-rw-r--r--lisp/general.el7
2 files changed, 35 insertions, 2 deletions
diff --git a/init.el b/init.el
index 366b1ed..6c6fc30 100644
--- a/init.el
+++ b/init.el
@@ -54,6 +54,34 @@
;; 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.
+ '(custom-safe-themes
+ '("3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" default))
'(package-selected-packages
- '(magit rust-mode xref-js2 web-mode vterm-toggle vscode-dark-plus-theme treemacs-projectile tree-sitter-langs tide tern smartparens rtags req-package rainbow-mode pythonic python-mode perfect-margin org-roam org-notify org-modern org-bullets org-alert minimap markdown-mode json-mode js2-refactor js2-highlight-vars js-doc ido-vertical-mode hl-todo highlight-thing highlight-indent-guides helm-projectile helm-posframe helm-ag good-scroll go-mode git-gutter-fringe git-commit flycheck-irony evil eslint-fix emojify eldoc-box eglot drag-stuff doom-themes dashboard css-eldoc counsel company-quickhelp company-irony cmake-mode cmake-ide auctex all-the-icons ac-js2))
+ '(smart-mode-line magit rust-mode xref-js2 web-mode vterm-toggle vscode-dark-plus-theme treemacs-projectile tree-sitter-langs tide tern smartparens rtags req-package rainbow-mode pythonic python-mode perfect-margin org-roam org-notify org-modern org-bullets org-alert minimap markdown-mode json-mode js2-refactor js2-highlight-vars js-doc ido-vertical-mode hl-todo highlight-thing highlight-indent-guides helm-projectile helm-posframe helm-ag good-scroll go-mode git-gutter-fringe git-commit flycheck-irony evil eslint-fix emojify eldoc-box eglot drag-stuff doom-themes dashboard css-eldoc counsel company-quickhelp company-irony cmake-mode cmake-ide auctex all-the-icons ac-js2))
'(safe-local-variable-values '((js-indent-level . 4))))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; 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.
+ '(org-block ((t (:inherit fixed-pitch))))
+ '(org-code ((t (:inherit (shadow fixed-pitch)))))
+ '(org-document-info ((t (:foreground "dark orange"))))
+ '(org-document-info-keyword ((t (:inherit (shadow fixed-pitch)))))
+ '(org-document-title ((t (:inherit default :weight normal :foreground "#cbccc6" :font "Iosevka" :height 1.3 :weight:bold))))
+ '(org-indent ((t (:inherit (org-hide fixed-pitch)))))
+ '(org-level-1 ((t (:inherit default :weight normal :foreground "#cbccc6" :font "Iosevka" :height 1.5 :weight bold))))
+ '(org-level-2 ((t (:inherit default :weight normal :foreground "#cbccc6" :font "Iosevka" :height 1.3 :weight bold))))
+ '(org-level-3 ((t (:inherit default :weight normal :foreground "#cbccc6" :font "Iosevka" :height 1.1))))
+ '(org-level-4 ((t (:inherit default :weight normal :foreground "#cbccc6" :font "Iosevka" :height 1.0))))
+ '(org-level-5 ((t (:inherit default :weight normal :foreground "#cbccc6" :font "Iosevka"))))
+ '(org-level-6 ((t (:inherit default :weight normal :foreground "#cbccc6" :font "Iosevka"))))
+ '(org-level-7 ((t (:inherit default :weight normal :foreground "#cbccc6" :font "Iosevka"))))
+ '(org-level-8 ((t (:inherit default :weight normal :foreground "#cbccc6" :font "Iosevka"))))
+ '(org-link ((t (:foreground "royal blue" :underline t))))
+ '(org-meta-line ((t (:inherit (font-lock-comment-face fixed-pitch)))))
+ '(org-property-value ((t (:inherit fixed-pitch))) t)
+ '(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
+ '(org-table ((t (:inherit fixed-pitch :foreground "#83a598"))))
+ '(org-tag ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8))))
+ '(org-verbatim ((t (:inherit (shadow fixed-pitch))))))
diff --git a/lisp/general.el b/lisp/general.el
index 8f4f92e..da3496f 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -33,6 +33,11 @@
(setq-default header-line-format mode-line-format) ; Copy mode-line
(setq-default mode-line-format nil) ; Remove mode-line
+(use-package smart-mode-line
+ :ensure t
+ :config
+ (smart-mode-line-enable))
+
;; Tab mode
(global-tab-line-mode t)
@@ -183,7 +188,7 @@
(require 'eglot)
(bind-key* (kbd "<f2>") #'eglot-rename)
(bind-key* (kbd "C-x C-f") 'helm-find-files)
-(bind-key* (kbd "C-s") 'helm-do-grep-ag)
+;(bind-key* (kbd "C-s") 'helm-do-grep-ag)
(bind-key* (kbd "M-x") 'helm-M-x)
(bind-key* (kbd "M-.") 'xref-find-definitions)
(bind-key* (kbd "C-x k") 'kill-this-buffer)