]> code.delx.au - dotemacs/blobdiff - lisp/my-minor-modes.el
Switch indent-guide for highlight-indent-guides
[dotemacs] / lisp / my-minor-modes.el
index 236cbcf2fefc28a04bcd482565b325d3be08edf7..0c994d512ce92fbd6520d44b12df3ac6d61bfa25 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)
+
 (require 'highlight-symbol)
 (add-hook 'prog-mode-hook #'highlight-symbol-mode)
 (add-hook 'prog-mode-hook #'highlight-symbol-nav-mode)
 (require 'hl-todo)
 (global-hl-todo-mode)
 
-(require 'indent-guide)
-(indent-guide-global-mode)
-(setq indent-guide-recursive t)
-
 (require 'jump-char)
 
 (require 'flyspell)
 (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)))