Created
October 21, 2017 18:34
-
-
Save enisozgen/82e785fd10c9b39bc3fef5015679393f to your computer and use it in GitHub Desktop.
Fast highlight options that I use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq enis-highlight-symbol-packages | |
'( | |
highlight-symbol | |
)) | |
(defun enis-highlight-symbol/init-highlight-symbol () | |
(use-package highlight-symbol | |
:config | |
(setq highlight-symbol-idle-delay 0.01) | |
;; (add-hook 'prog-mode-hook #'highlight-symbol-mode) | |
(setq highlight-symbol-colors | |
(quote | |
;; Colors are | |
("dark blue" "dark red" "dark magenta" "IndianRed4" "LightGoldenrod3" "violet red" "DeepSkyBlue4"))))) | |
;; That part is callling functions really fast you can configure that party how ever you want | |
;; Additionally, I am spacemacs/symbol-highlight to edit all highlighted words, this function is also well but it's not permanent | |
;; (defhydra hydra-highlight (global-map "<f2>" (:color blue :columns 8)) | |
;; "Highlight symbol" | |
;; ("hh" highlight-symbol "highlight-symbol") | |
;; ("hn" highlight-symbol-next "highlight-symbol-next") | |
;; ("hp" highlight-symbol-prev "highlight-symbol-prev")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment