]> code.delx.au - dotemacs/blobdiff - lisp/my-minor-modes.el
Improved tide-project-root to understand git and package.json
[dotemacs] / lisp / my-minor-modes.el
index 013a54b5bd710030c2727025b8ab820dba7763d7..7da6b3f98e59eb44bfa26496459444dee150d692 100644 (file)
@@ -14,6 +14,7 @@
 (setq avy-all-windows nil)
 (setq avy-timeout-seconds 0.3)
 (setq avy-keys '(?a ?o ?e ?u ?h ?t ?n ?s))
+(setq avy-style 'at)
 
 (require 'change-inner)
 
 
 (require 'goto-chg)
 
+(require 'highlight-indent-guides)
+(add-hook 'prog-mode-hook 'highlight-indent-guides-mode)
+(setq highlight-indent-guides-method 'character)
+(setq highlight-indent-guides-responsive 'top)
+(setq highlight-indent-guides-auto-enabled nil)
+(set-face-foreground 'highlight-indent-guides-character-face "#333333")
+(set-face-foreground 'highlight-indent-guides-top-character-face "#726464")
+
 (require 'highlight-symbol)
 (add-hook 'prog-mode-hook #'highlight-symbol-mode)
 (add-hook 'prog-mode-hook #'highlight-symbol-nav-mode)
 (global-hl-line-mode)
 
 (require 'hl-todo)
-(add-hook 'prog-mode-hook #'hl-todo-mode)
-
-(require 'indent-guide)
-(indent-guide-global-mode)
-(setq indent-guide-recursive t)
+(global-hl-todo-mode)
 
 (require 'jump-char)
 
 (add-hook 'after-init-hook
           (lambda ()
             (diminish 'editorconfig-mode)
-            (diminish 'elisp-slime-nav-mode)
             (diminish 'git-gutter-mode)
             (diminish 'highlight-symbol-mode)
-            (diminish 'indent-guide-mode)
+            (diminish 'highlight-indent-guides-mode)
             (diminish 'ivy-mode)
-            (diminish 'tern-mode)
             (diminish 'yas-minor-mode)))