diff options
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 |