spacemacs layer: tweak lighters for indentation highlighting

Use ⓗi and ⓗc when unicode symbols are enabled
This commit is contained in:
syl20bnr 2015-08-02 21:55:25 -04:00
parent b5cc529227
commit e0af9c100b
2 changed files with 26 additions and 25 deletions

View File

@ -911,29 +911,29 @@ toggle them.
Some toggle have two flavors: local and global. The global version of the toggle
can be reached using the =control= key.
| Key Binding | Unicode | ASCII | Mode |
|-------------+---------+-------+-------------------------------------|
| ~SPC t -~ | =⊝= | - | [[http://emacswiki.org/emacs/centered-cursor-mode.el][centered-cursor]] mode |
| ~SPC t C--~ | | | global centered cursor |
| ~SPC t a~ | =ⓐ= | a | auto-completion |
| ~SPC t c~ | =ⓒ= | c | camel case motion with subword mode |
| =none= | =ⓔ= | e | [[https://github.com/edwtjo/evil-org-mode][evil-org]] mode |
| ~SPC t f~ | =none= | | fill-column-indicator mode |
| ~SPC t F~ | =Ⓕ= | F | auto-fill mode |
| ~SPC t g~ | =ⓖ= | g | [[https://github.com/roman/golden-ratio.el][golden-ratio]] mode |
| ~SPC t G~ | =Ⓖ= | G | guide-key mode |
| ~SPC t h i~ | =ⓗ= | h | toggle highlight indentation levels |
| ~SPC t h c~ | =ⓗⒸ= | hC | toggle highlight indentation current column |
| ~SPC t i~ | =ⓘ= | i | indentation guide |
| ~SPC t C-i~ | =ⓘ= | i | global indentation guide |
| ~SPC t I~ | =Ⓘ= | I | aggressive indent mode |
| ~SPC t p~ | =ⓟ= | p | [[https://github.com/Fuco1/smartparens][smartparens]] mode |
| ~SPC t C-p~ | | | global smartparens |
| ~SPC t s~ | =ⓢ= | s | syntax checking (flycheck) |
| ~SPC t S~ | =Ⓢ= | S | spell checking (flyspell) |
| ~SPC t w~ | =ⓦ= | w | whitespace mode |
| ~SPC t C-w~ | =Ⓦ= | W | global whitespace |
| ~SPC t y~ | =ⓨ= | y | [[https://github.com/capitaomorte/yasnippet][yasnippet]] mode |
| Key Binding | Unicode | ASCII | Mode |
|-------------+---------+-------+---------------------------------------------|
| ~SPC t -~ | =⊝= | - | [[http://emacswiki.org/emacs/centered-cursor-mode.el][centered-cursor]] mode |
| ~SPC t C--~ | =⊝= | | global centered cursor |
| ~SPC t a~ | =ⓐ= | a | auto-completion |
| ~SPC t c~ | =ⓒ= | c | camel case motion with subword mode |
| =none= | =ⓔ= | e | [[https://github.com/edwtjo/evil-org-mode][evil-org]] mode |
| ~SPC t f~ | | | fill-column-indicator mode |
| ~SPC t F~ | =Ⓕ= | F | auto-fill mode |
| ~SPC t g~ | =ⓖ= | g | [[https://github.com/roman/golden-ratio.el][golden-ratio]] mode |
| ~SPC t G~ | =Ⓖ= | G | guide-key mode |
| ~SPC t h i~ | =ⓗi= | h | toggle highlight indentation levels |
| ~SPC t h c~ | =ⓗc= | hc | toggle highlight indentation current column |
| ~SPC t i~ | =ⓘ= | i | indentation guide |
| ~SPC t C-i~ | =ⓘ= | i | global indentation guide |
| ~SPC t I~ | =Ⓘ= | I | aggressive indent mode |
| ~SPC t p~ | =ⓟ= | p | [[https://github.com/Fuco1/smartparens][smartparens]] mode |
| ~SPC t C-p~ | =ⓟ= | | global smartparens |
| ~SPC t s~ | =ⓢ= | s | syntax checking (flycheck) |
| ~SPC t S~ | =Ⓢ= | S | spell checking (flyspell) |
| ~SPC t w~ | =ⓦ= | w | whitespace mode |
| ~SPC t C-w~ | =Ⓦ= | W | global whitespace |
| ~SPC t y~ | =ⓨ= | y | [[https://github.com/capitaomorte/yasnippet][yasnippet]] mode |
* Commands
** Vim key bindings

View File

@ -2102,8 +2102,9 @@ Search for a search tool in the order provided by `dotspacemacs-search-tools'."
:documentation "Highlight indentation level at point."
:evil-leader "thc"))
:config
(spacemacs|diminish highlight-indentation-mode "" " h")
(spacemacs|diminish highlight-indentation-current-column-mode " ⓗⒸ" " hC")))
(progn
(spacemacs|diminish highlight-indentation-mode " ⓗi" " hi")
(spacemacs|diminish highlight-indentation-current-column-mode " ⓗc" " hc"))))
(defun spacemacs/init-highlight-numbers ()
(use-package highlight-numbers