1
0
Fork 0

fix(emacs): migrate some neotree config to init.el

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-05-04 17:42:35 -07:00
parent 575f930dd0
commit 73f9cce197
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
2 changed files with 5 additions and 4 deletions

View file

@ -236,9 +236,6 @@
(neotree-dir current-directory)))) (neotree-dir current-directory))))
(keymap-global-set "C-c t" #'neotree-toggle-current-directory) (keymap-global-set "C-c t" #'neotree-toggle-current-directory)
(setq neo-theme 'icons)
(setq neo-smart-open t)
(setq neo-window-fixed-size nil)
(add-hook 'neotree-mode-hook (lambda () (text-scale-set -0.5))) (add-hook 'neotree-mode-hook (lambda () (text-scale-set -0.5)))
;(add-hook 'neotree-mode-hook (lambda () (buffer-face-set :background "#ffffff"))) ;(add-hook 'neotree-mode-hook (lambda () (buffer-face-set :background "#ffffff")))

View file

@ -85,7 +85,11 @@
;; UI ;; UI
(use-package magit :straight t) (use-package magit :straight t)
(use-package forge :straight t) (use-package forge :straight t)
(use-package neotree :straight t) (use-package neotree :straight t
:custom
((neo-theme 'icons)
(neo-smart-open t)
(neo-window-fixed-size nil)))
(use-package all-the-icons :straight t) (use-package all-the-icons :straight t)
(use-package git-gutter :straight t (use-package git-gutter :straight t
:hook (prog-mode . git-gutter-mode) :hook (prog-mode . git-gutter-mode)