diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2022-10-16 14:46:06 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2022-10-16 14:46:06 -0400 |
commit | 1d509aca785e67d15bbd13a84e83ee644f134c9f (patch) | |
tree | 0318aa9d6c0f482355054543d4bb08f96b20ec86 /lisp | |
parent | 71fab635ea3d8bd9996e4c97681e2c26a5cacc9f (diff) |
Better highlighting on the terminal and the sidebar
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/general.el | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/lisp/general.el b/lisp/general.el index a39757a..fc316a1 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -56,7 +56,7 @@ (require 'ivy) (ivy-mode 1) - +;; Don't ask to kill when we have an open line number (setq-default confirm-kill-processes nil) ;; Tree @@ -75,6 +75,13 @@ (evil-define-key 'normal neotree-mode-map (kbd "A") 'neotree-stretch-toggle) (evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle) +(defun my-neotree-mode-hook() + "Set the colors of neotree to match my personal taste." + (setq left-fringe-width 0) + (face-remap-add-relative 'default :background "#f0f0f0" )) +(add-hook 'neotree-mode-hook 'my-neotree-mode-hook) +(setq neo-window-width 40) + ;; Smooth scroll (setq redisplay-dont-pause t scroll-margin 7 @@ -186,6 +193,17 @@ (window-height . 0.2))) (bind-key* (kbd "M-t") 'vterm-toggle) +(defun my-vterm-mode-set-colors() + "Set the colors of vterm to match my personal taste." + (hl-line-mode -1) + (minimap-mode -1) + (linum-mode -1) + (setq left-fringe-width 0) + (setq right-fringe-width 0) + (face-remap-add-relative 'default '(:background "#232627")) + (face-remap-add-relative 'default '(:foreground"#fcfcfc")) + ) +(add-hook 'vterm-mode-hook 'my-vterm-mode-set-colors) (provide 'general) ;;; general.el ends here |