]> code.delx.au - dotemacs/blobdiff - lisp/my-minor-modes.el
diminish counsel-mode
[dotemacs] / lisp / my-minor-modes.el
index ede7b3796b728f158a9b9f10652420a7502d93d8..eb2468844d8623c79acab27baa11f484ad6ce3fc 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)
 
         (define-key m (kbd "C-c RET") 'goto-address-at-point)
         m))
 
+(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)
 
 (require 'diminish)
 (add-hook 'after-init-hook
           (lambda ()
+            (diminish 'counsel-mode)
             (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)))