Add treemacs with config + nerd-icon support
This commit is contained in:
parent
f7f909d615
commit
86b8bfcbd0
13
init.el
13
init.el
|
@ -268,6 +268,12 @@
|
|||
:requires (corfu nerd-icons)
|
||||
:config (add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))
|
||||
|
||||
(use-package treemacs-nerd-icons
|
||||
:diminish
|
||||
:requires (treemacs nerd-icons)
|
||||
:config
|
||||
(treemacs-load-theme "nerd-icons"))
|
||||
|
||||
(use-package ligature
|
||||
:functions (ligature-set-ligatures
|
||||
global-ligature-mode)
|
||||
|
@ -988,6 +994,13 @@ Calls `project-remember-projects-under' for ~/Projects/"
|
|||
("\\`\\(?:sourcehut:\\|sh:\\)\\([^:]+\\)\\'" "git.sr.ht" "sourcehut.user")
|
||||
("\\`\\(?:gitea:\\|gt:\\)\\([^:]+\\)\\'" "git.xenia.me.uk" "gitea.user"))))
|
||||
|
||||
(use-package treemacs
|
||||
:functions treemacs
|
||||
:bind (("M-g t" . treemacs-select-window))
|
||||
:hook (treemacs-mode . (lambda ()
|
||||
(visual-line-mode -1)
|
||||
(toggle-truncate-lines -1))))
|
||||
|
||||
(use-package aggressive-indent
|
||||
:hook (elisp-mode
|
||||
lisp-mode
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
;; org-mode HTML export
|
||||
htmlize
|
||||
;; Projects
|
||||
ibuffer-project magit forge
|
||||
ibuffer-project magit forge treemacs
|
||||
;; Writing
|
||||
markdown-mode pandoc-mode auctex auctex-latexmk latex-preview-pane
|
||||
;; Email
|
||||
|
|
Loading…
Reference in a new issue