Add toggle for vi-tilde-fringe on SPC t ~
This commit is contained in:
parent
5e993d8e4c
commit
193f7834af
|
@ -773,6 +773,7 @@ Some graphical UI indicators can be toggled on and off (toggles start with `t`):
|
|||
|
||||
Key Binding | Description
|
||||
------------------------|------------------------------------------------------------
|
||||
<kbd>SPC t ~</kbd> | display `~` in the fringe on empty lines
|
||||
<kbd>SPC t c</kbd> | display the fill column (by default the fill column is set to 80)
|
||||
<kbd>SPC t F</kbd> | toggle frame fullscreen
|
||||
<kbd>SPC t f</kbd> | toggle display of the fringe
|
||||
|
|
|
@ -2554,7 +2554,16 @@ displayed in the mode-line.")
|
|||
(use-package vi-tilde-fringe
|
||||
:if window-system
|
||||
:init
|
||||
(global-vi-tilde-fringe-mode)
|
||||
(progn
|
||||
(global-vi-tilde-fringe-mode)
|
||||
(spacemacs|add-toggle vi-tilde-fringe
|
||||
:status vi-tilde-fringe-mode
|
||||
:on (global-vi-tilde-fringe-mode)
|
||||
:off (global-vi-tilde-fringe-mode -1)
|
||||
:documentation
|
||||
(concat "Globally display a ~ on "
|
||||
"empty lines in the fringe.")
|
||||
:evil-leader "t~"))
|
||||
:config
|
||||
(spacemacs|hide-lighter vi-tilde-fringe-mode)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue