update doom config

This commit is contained in:
2022-06-21 14:12:35 -07:00
parent 81483cffbf
commit 44347a2170
3 changed files with 31 additions and 5 deletions

View File

@@ -32,7 +32,7 @@
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
(setq doom-theme 'doom-dark+)
(setq doom-theme 'doom-gruvbox)
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
@@ -74,3 +74,16 @@
;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
;; treemacs extension
(setq treemacs-text-scale 1)
(treemacs-git-mode 'deferred)
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action) ;; single click to open tree nodes
;; code minimap
(minimap-move-overlay-mouse [mouse-1])
;; Rust config
;; https://github.com/doomemacs/doomemacs/blob/develop/modules/lang/rust/README.org#enable-rls-by-default
(setq rustic-lsp-server 'rust-analyzer)
(setq rustic-lsp-client 'eglot)